-
-
Couldn't load subscription status.
- Fork 17.3k
Closed as not planned
Labels
StaleStale and schedule for closing soonStale and schedule for closing soonquestionFurther information is requestedFurther information is requested
Description
Search before asking
- I have searched the YOLOv5 issues and discussions and found no similar questions.
Question
In train.py, I found that the assert is made here:
if LOCAL_RANK != -1:
msg = 'is not compatible with YOLOv5 Multi-GPU DDP training'
assert not opt.image_weights, f'--image-weights {msg}' # <----- this assert
assert not opt.evolve, f'--evolve {msg}'This assert was added by #3275 , and according to #4579, --image-weights can be use with DDP training.
I comment out this assert line and found dataset.indices modified at every epoch beginning can be broadcast to other processes correctly.
Are --image-weights and DDP training still incompatible now?
Additional
No response
Metadata
Metadata
Assignees
Labels
StaleStale and schedule for closing soonStale and schedule for closing soonquestionFurther information is requestedFurther information is requested