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 such file or directory: 'log_dense_box_bn/infos_dense_box_bn.pkl' #13

Open
cuteding opened this issue Mar 19, 2019 · 9 comments
Open

Comments

@cuteding
Copy link

数据和特征都准备好了,但是训练一直报错

read 240000 image features
assigned 220000 images to split train
assigned 10000 images to split val
assigned 10000 images to split test
Traceback (most recent call last):
File "train.py", line 228, in
train(opt)
File "train.py", line 48, in train
with open(os.path.join(opt.start_from, 'infos_'+opt.id+'.pkl')) as f:
IOError: [Errno 2] No such file or directory: 'log_dense_box_bn/infos_dense_box_bn.pkl'
Terminating BlobFetcher

@dingdajun
Copy link

已找到解决方案
ruotianluo/ImageCaptioning.pytorch#49

感谢罗博士的帮助!

@zmskye
Copy link

zmskye commented May 8, 2019

您好,请问这个问题具体是咋解决的,我遇到了和您一样的问题。我看了你引用的解决方案还是没有理解 @dingdajun

@danmeng90
Copy link

Have you solved this problem? I encountered the same problem, please help!

@danmeng90
Copy link

Problem solved! Add --use_box 0 into run_train.sh.

@mzh1996
Copy link

mzh1996 commented Jan 15, 2020

Sorry to disturb you. @danmeng90
I still can't solve this problem even if I add --use_box 0 into run_train.sh.
There are two "python train.py " in the run_train.sh file.
I add "--use_box 0" after both of them.
But it still report the same error.

@mzh1996
Copy link

mzh1996 commented Jan 15, 2020

Problem solved! Add --use_box 0 into run_train.sh.

Sorry to disturb you. @danmeng90
I still can't solve this problem even if I add --use_box 0 into run_train.sh.
There are two "python train.py " in the run_train.sh file.
I add "--use_box 0" after both of them.
But it still report the same error.

@mzh1996
Copy link

mzh1996 commented Jan 15, 2020

数据和特征都准备好了,但是训练一直报错

read 240000 image features
assigned 220000 images to split train
assigned 10000 images to split val
assigned 10000 images to split test
Traceback (most recent call last):
File "train.py", line 228, in
train(opt)
File "train.py", line 48, in train
with open(os.path.join(opt.start_from, 'infos_'+opt.id+'.pkl')) as f:
IOError: [Errno 2] No such file or directory: 'log_dense_box_bn/infos_dense_box_bn.pkl'
Terminating BlobFetcher

Sorry to disturb you. @cuteding
I still can't solve this problem.
Have you solved this problem?

@danmeng90
Copy link

Problem solved! Add --use_box 0 into run_train.sh.

Sorry to disturb you. @danmeng90
I still can't solve this problem even if I add --use_box 0 into run_train.sh.
There are two "python train.py " in the run_train.sh file.
I add "--use_box 0" after both of them.
But it still report the same error.

Try to modify "--use_bn 1 --use_box 1" into "--use_bn 0 --use_box 0" in run_train.sh file, which is located in both "python train.py" lines.

@mzh1996
Copy link

mzh1996 commented Jan 15, 2020 via email

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

5 participants