Closed IOEvan closed 1 year ago
Thanks! Could you try changing 'task_finetune_caption_mle_coco' to 'task_finetune_caption_cider_coco' and see if it can fix the issue?
task_finetune_caption_cider_coco
also does not work since I don't have the coco-train-words.p
fileFileNotFoundError: [Errno 2] No such file or directory: 'coco-train-words.p'
task_finetune_caption_gold_coco
, the following error arisedTypeError: __init__() got an unexpected keyword argument 'prepare_data_per_node'
Do you have any other suggestions?
coco-train-words.p can be found here https://drive.google.com/file/d/1N_O7tkBjJRCueQj7MHMqrazDTWr4OCDE/view?usp=sharing
TypeError: init() got an unexpected keyword argument 'prepare_data_per_node' seems like a pytorch-lightning version issue. here's the package version information https://github.com/microsoft/FIBER/blob/main/coarse_grained/requirements.txt.
if these don't work, maybe you can just try adding resolution_before=576 to the command line for task_finetune_caption_mle_coco
coco-train-words.p can be found here https://drive.google.com/file/d/1N_O7tkBjJRCueQj7MHMqrazDTWr4OCDE/view?usp=sharing
TypeError: init() got an unexpected keyword argument 'prepare_data_per_node' seems like a pytorch-lightning version issue. here's the package version information https://github.com/microsoft/FIBER/blob/main/coarse_grained/requirements.txt.
if these don't work, maybe you can just try adding resolution_before=576 to the command line for task_finetune_caption_mle_coco
Thanks for your advice! It works for me.
Thanks for releasing this great project. But, when I using the evaluation example script of COCO Captioning
python run.py with data_root=/data2/dsets/dataset num_gpus=8 num_nodes=1 task_finetune_caption_mle_coco per_gpu_batchsize=32 load_path=fiber_coco_caption.ckpt
I get the following error:
What is the problem that
fiber_coco_caption.ckpt
model does not match the input size? Hope to get your reply!