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

No File "gt_label.npy" ,"network-default.pytorch" in models folder #1

Open
saikumarkethi opened this issue Mar 20, 2021 · 0 comments
Open

Comments

@saikumarkethi
Copy link

saikumarkethi commented Mar 20, 2021

File "/content/anomaly_detection_under_varying_visibility/future_frame_pred/train_own.py", line 56, in
train_cfg.gt = np.load('/project/bo/anomaly_data/Avenue/gt_label.npy', allow_pickle=True)
File "/usr/local/lib/python3.7/dist-packages/numpy/lib/npyio.py", line 416, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: '/project/bo/anomaly_data/Avenue/gt_label.npy'

Traceback (most recent call last):
File "/content/anomaly_detection_under_varying_visibility/future_frame_pred/train_own.py", line 80, in
flow_net.load_state_dict(torch.load('models/liteFlownet/network-default.pytorch'))
File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 579, 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: 'models/liteFlownet/network-default.pytorch'

Hello Lyn i am getting above errors while executing train_own.py script could you please help me thanks in advance

@saikumarkethi saikumarkethi changed the title No File "network-default.pytorch" in models folder No File "gt_label.npy" ,"network-default.pytorch" in models folder Mar 20, 2021
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