No such file or directory: 'log_dense_box_bn/infos_dense_box_bn.pkl'
数据和特征都准备好了,但是训练一直报错
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
已找到解决方案 https://github.com/ruotianluo/ImageCaptioning.pytorch/issues/49
感谢罗博士的帮助!
您好,请问这个问题具体是咋解决的,我遇到了和您一样的问题。我看了你引用的解决方案还是没有理解 @dingdajun
Have you solved this problem? I encountered the same problem, please help!
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.
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.
数据和特征都准备好了,但是训练一直报错
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?
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.
Thank you so much! Everything gets correct except the meteor evaluation. I will ignore it. Thanks again!
---Original--- From: "danmeng90"<[email protected]> Date: Wed, Jan 15, 2020 16:18 PM To: "ruotianluo/Image_Captioning_AI_Challenger"<[email protected]>; Cc: "Comment"<[email protected]>;"mzh1996"<[email protected]>; Subject: Re: [ruotianluo/Image_Captioning_AI_Challenger] No such file or directory: 'log_dense_box_bn/infos_dense_box_bn.pkl' (#13)
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.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.