Closed zhangliang-04 closed 3 years ago
你后来解决了嘛?遇到了同样的问题。
Have you installed the repo?
pip install --editable ./
Have you installed the repo?
pip install --editable ./
Hi. I have tried this command but it doesn't seem to work. Could you give me some other advices?
I checked the UVR-NMT/fairseq/options.py, but did not find --cap2image_file and --image_embedding_file defined. Maybe there exist some bugs?
I solved this issue by:
In "fairseq/models/transformer.py", uncomment the two lines:
parser.add_argument('--cap2image_file', type=str, metavar='STR', help='cap2image_file')
parser.add_argument('--image_embedding_file', type=str, metavar='STR', help='image_embedding_file')
train.py: error: unrecognized arguments: --cap2image_file data/cap2image_en2de.pickle --image_embedding_file features_resnet50/train-resnet50-avgpool.npy