You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run 'python train.py' to 50%, here is the error:
loading annotations into memory...
Done (t=4.52s)
creating index...
index created!
loading annotations into memory...
Done (t=0.53s)
creating index...
index created!
train images: 64115
val images: 2693
50%|████████████████▉ | 8014/16029 [3:14:17<3:02:36, 1.37s/it]Traceback (most recent call last):
File "train.py", line 16, in
openpose.train()
File "/home/robeon/Pytorch0.4.1_Openpose-master/openpose.py", line 283, in train
self.save_state(val_loss)
File "/home/robeon/Pytorch0.4.1_Openpose-master/openpose.py", line 101, in save_state
('model_{}_val_loss:{}_step:{}.pth'.format(time, val_loss, self.step)))
File "/home/robeon/anaconda3/lib/python3.6/site-packages/torch/serialization.py", line 224, in save
return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol))
File "/home/robeon/anaconda3/lib/python3.6/site-packages/torch/serialization.py", line 147, in _with_file_like
f = open(f, mode)
FileNotFoundError: [Errno 2] No such file or directory: 'work_space/save/model_2019-11-12-12-39_val_loss:0.022055972758680584_step:8014.pth'
before 50% is ok,but why need this '.pth' file? anyone help?
The text was updated successfully, but these errors were encountered:
When i run 'python train.py' to 50%, here is the error:
loading annotations into memory...
Done (t=4.52s)
creating index...
index created!
loading annotations into memory...
Done (t=0.53s)
creating index...
index created!
train images: 64115
val images: 2693
50%|████████████████▉ | 8014/16029 [3:14:17<3:02:36, 1.37s/it]Traceback (most recent call last):
File "train.py", line 16, in
openpose.train()
File "/home/robeon/Pytorch0.4.1_Openpose-master/openpose.py", line 283, in train
self.save_state(val_loss)
File "/home/robeon/Pytorch0.4.1_Openpose-master/openpose.py", line 101, in save_state
('model_{}_val_loss:{}_step:{}.pth'.format(time, val_loss, self.step)))
File "/home/robeon/anaconda3/lib/python3.6/site-packages/torch/serialization.py", line 224, in save
return _with_file_like(f, "wb", lambda f: _save(obj, f, pickle_module, pickle_protocol))
File "/home/robeon/anaconda3/lib/python3.6/site-packages/torch/serialization.py", line 147, in _with_file_like
f = open(f, mode)
FileNotFoundError: [Errno 2] No such file or directory: 'work_space/save/model_2019-11-12-12-39_val_loss:0.022055972758680584_step:8014.pth'
before 50% is ok,but why need this '.pth' file? anyone help?
The text was updated successfully, but these errors were encountered: