-
Notifications
You must be signed in to change notification settings - Fork 7
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
Training Error! #16
Comments
Hi I ran the experiments on Python 3.7 or 3.8 and pytorch 1.7. If the env can run the YOLO v5, then it can also run this repo. |
Hi, I hope it helps! |
Thank you for your effort and valuable advice! I have fixed this bug. |
Hi, As for the multiple AP values values in the list, I think they are per sample (image in validation set) ap values. But for overall you would be getting map@50 and map@50 - 95, consider the one as per your requirement. The above variables basically indicate the total batch size, for example 12 , then how much proportion must be taken from real source dataloader (bs_source) i.e 11, the rest must be taken from target dataloader (bs_target), i.e 1 as per the proportions taken by author. Among the source samples what proportion should be taken for the target-similar samples (bs_topk) i.e 8. Only bs_topk are taken closest distance wise, rest are not considered, to compensate for the discarded amount of samples, bs_add amount, i.e 3, are added back to the batch, concat bs_add the with closest distance again... At the end a batch is contains [(8 target-similar source samples), (1 real target samples), (3 top most target-similar source samples )]. This is what I understood from the code, If you want any other details or if I was not able to make it clear enough, please refer to code lines 276-355 in train_MMD.py. Hope it Hepls! |
Hello,
When I run the code for the training, I get an error. The error:
Can you share the versions of the python, torch etc. that you used?
Thank you in advance!
The text was updated successfully, but these errors were encountered: