Skip to content
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

FileNotFoundError #82

Open
Lixia1221 opened this issue Nov 29, 2020 · 0 comments
Open

FileNotFoundError #82

Lixia1221 opened this issue Nov 29, 2020 · 0 comments

Comments

@Lixia1221
Copy link

2020-11-29 21:18:54,699 atss_core.utils.checkpoint INFO: Loading checkpoint from ATSS_R_50_FPN_1x.pth
Traceback (most recent call last):
File "tools/test_net.py", line 97, in
main()
File "tools/test_net.py", line 66, in main
_ = checkpointer.load(cfg.MODEL.WEIGHT)
File "/home/fsr/ATSS-master/atss_core/utils/checkpoint.py", line 61, in load
checkpoint = self._load_file(f)
File "/home/fsr/ATSS-master/atss_core/utils/checkpoint.py", line 136, in _load_file
loaded = super(DetectronCheckpointer, self)._load_file(f)
File "/home/fsr/ATSS-master/atss_core/utils/checkpoint.py", line 95, in _load_file
return torch.load(f, map_location=torch.device("cpu"))
File "/home/fsr/anaconda3/envs/ATSS/lib/python3.7/site-packages/torch/serialization.py", line 382, in load
f = open(f, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'ATSS_R_50_FPN_1x.pth'

I've downloaded this file, I still ca n' t find it, I think it's a path error, what's the correct path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant