-
Notifications
You must be signed in to change notification settings - Fork 446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[OTX] consider multi GPU when setting drop last #1520
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Let's merge after passing TCs.
As you can see all CI tests are passed and I just changed variable names from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need to consider detection/segmentation tasks?
Yes, I checked that there is code to set it as True, but only classification task has. |
Summray
Detail
Although samplers_per_gpu * num_gpus is bigger than number of images, drop_last is set as 0, then max_iter is calculated as 0, which makes a bug.