arpanmangal / CovidAID

COVID-19 Detection Using Chest X-Ray
http://arxiv.org/abs/2004.09803
61 stars 38 forks source link

Error in generating dataset #10

Open diksh007 opened 3 years ago

diksh007 commented 3 years ago

Traceback (most recent call last): File "/content/CovidAID/tools/transfer.py", line 32, in chexnet_model = load_weights(chexnet_model_checkpoint) File "/content/CovidAID/tools/transfer.py", line 22, in load_weights model = torch.load(checkpoint_pth) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 581, in load with _open_file_like(f, 'rb') as opened_file: File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 230, in _open_file_like return _open_file(name_or_buffer, mode) File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 211, in init super(_open_file, self).init(open(name, mode)) FileNotFoundError: [Errno 2] No such file or directory: './data/CheXNet_model.pth.tar'

what should be the model path?