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

coco-train-idxs.p问题 #286

Open
Githubdzp opened this issue Mar 29, 2024 · 0 comments
Open

coco-train-idxs.p问题 #286

Githubdzp opened this issue Mar 29, 2024 · 0 comments

Comments

@Githubdzp
Copy link

请问作者,下面这个文件在哪找呢?FileNotFoundError: [Errno 2] No such file or directory: 'data/data/coco-train-idxs.p'
这是在训练30个epoch时报的错,
Traceback (most recent call last):
File "train.py", line 283, in
train(opt)
File "train.py", line 156, in train
init_scorer(opt.cached_tokens)
File "/home/flyvideo/mySata/dzp/CIIC-main/captioning/utils/rewards.py", line 26, in init_scorer
CiderD_scorer = CiderD_scorer or CiderD(df=cached_tokens)
File "cider/pyciderevalcap/ciderD/ciderD.py", line 29, in init
self.cider_scorer = CiderScorer(n=self._n, df_mode=self._df)
File "cider/pyciderevalcap/ciderD/ciderD_scorer.py", line 109, in init
pkl_file = cPickle.load(open(os.path.join('data', df_mode + '.p'),'rb'), **(dict(encoding='latin1') if six.PY3 else {}))
FileNotFoundError: [Errno 2] No such file or directory: 'data/data/coco-train-idxs.p'

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