facebookresearch / facebookresearch/moco

ValueError: Decompressed Data Too Large and acc is strangely low

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
5.1k
Forks
802
PR merge metrics
No merged PRs in 30d

Description

Thanks for your amazing work!
When I run python main_moco.py and main_lincls.py, an error occured:
![image](https://user-images.githubusercontent.com/43444378/100433728-704a8a80-30d6-11eb-937d-457cc9b46384.png)
![image](https://user-images.githubusercontent.com/43444378/100433746-780a2f00-30d6-11eb-96a1-f6f550842fbe.png)

I searched the error in the Internet and tried to add some lines in front of the python code:
![image](https://user-images.githubusercontent.com/43444378/100433792-89ebd200-30d6-11eb-8ca3-13b0937864cd.png)

The error is gone and I can run the two python file well. However, the accuracy is strangely low. For example, this is when I run python main_lincls.py with your provided 800-epoch MOCOv2 pre-trained model, which is supposed to get a 71.1 top-1 acc after 100 epochs of linear classify training.
![image](https://user-images.githubusercontent.com/43444378/100434405-670ded80-30d7-11eb-9065-bbd40a3128f4.png)
![image](https://user-images.githubusercontent.com/43444378/100434444-73924600-30d7-11eb-9bb2-236f977678d5.png)

I'm really confused, and I think my env of python, pytorch, torchvision is OK. I have no idea what is going wrong. I hope you could help me. Thank you very much!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.