Traceback (most recent call last):
File "train.py", line 205, in
torch.save(model.state_dict(), f"weights/custom/yolov4custom{round(AP.mean(), 3)}.pth")
File "/home/minji/.local/lib/python3.6/site-packages/torch/serialization.py", line 327, in save
with _open_file_like(f, 'wb') as opened_file:
File "/home/minji/.local/lib/python3.6/site-packages/torch/serialization.py", line 212, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/minji/.local/lib/python3.6/site-packages/torch/serialization.py", line 193, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'weights/custom/yolov4_custom_0.182.pth'
Traceback (most recent call last): File "train.py", line 205, in
torch.save(model.state_dict(), f"weights/custom/yolov4custom{round(AP.mean(), 3)}.pth")
File "/home/minji/.local/lib/python3.6/site-packages/torch/serialization.py", line 327, in save
with _open_file_like(f, 'wb') as opened_file:
File "/home/minji/.local/lib/python3.6/site-packages/torch/serialization.py", line 212, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/home/minji/.local/lib/python3.6/site-packages/torch/serialization.py", line 193, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'weights/custom/yolov4_custom_0.182.pth'