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
I noticed that there are only config files for psp18. and when I run python tool/train_with_flow.py, I got this:
-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "/opt/conda/envs/open-mmlab/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap
fn(i, *args)
File "/home/dancer/ETC-Real-time-Per-frame-Semantic-video-segmentation/tool/train_with_flow.py", line 146, in main_worker
BatchNorm=BatchNorm, flow=True)
File "/home/dancer/ETC-Real-time-Per-frame-Semantic-video-segmentation/model/pspnet_18.py", line 48, in init
resnet = models.resnet18(deep_base=False, pretrained=pretrained)
File "/home/dancer/ETC-Real-time-Per-frame-Semantic-video-segmentation/model/resnet.py", line 176, in resnet18
model.load_state_dict(torch.load(model_path), strict=False)
File "/opt/conda/envs/open-mmlab/lib/python3.7/site-packages/torch/serialization.py", line 571, in load
with _open_file_like(f, 'rb') as opened_file:
File "/opt/conda/envs/open-mmlab/lib/python3.7/site-packages/torch/serialization.py", line 229, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/opt/conda/envs/open-mmlab/lib/python3.7/site-packages/torch/serialization.py", line 210, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './initmodel/resnet18.pth'
So, could you please provide more corresponding initmodels and config files? Thanks in advance!
The text was updated successfully, but these errors were encountered:
I noticed that there are only config files for psp18. and when I run
python tool/train_with_flow.py
, I got this:-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "/opt/conda/envs/open-mmlab/lib/python3.7/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap
fn(i, *args)
File "/home/dancer/ETC-Real-time-Per-frame-Semantic-video-segmentation/tool/train_with_flow.py", line 146, in main_worker
BatchNorm=BatchNorm, flow=True)
File "/home/dancer/ETC-Real-time-Per-frame-Semantic-video-segmentation/model/pspnet_18.py", line 48, in init
resnet = models.resnet18(deep_base=False, pretrained=pretrained)
File "/home/dancer/ETC-Real-time-Per-frame-Semantic-video-segmentation/model/resnet.py", line 176, in resnet18
model.load_state_dict(torch.load(model_path), strict=False)
File "/opt/conda/envs/open-mmlab/lib/python3.7/site-packages/torch/serialization.py", line 571, in load
with _open_file_like(f, 'rb') as opened_file:
File "/opt/conda/envs/open-mmlab/lib/python3.7/site-packages/torch/serialization.py", line 229, in _open_file_like
return _open_file(name_or_buffer, mode)
File "/opt/conda/envs/open-mmlab/lib/python3.7/site-packages/torch/serialization.py", line 210, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: './initmodel/resnet18.pth'
So, could you please provide more corresponding initmodels and config files? Thanks in advance!
The text was updated successfully, but these errors were encountered: