请问作者,下面这个文件在哪找呢?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'
请问作者,下面这个文件在哪找呢?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'