guanghuixu / AnchorCaptioner

Other
32 stars 10 forks source link

关于在 TextCaps 训练集上训练 M4C-Captioner 模型遇到的问题 #16

Open water500ml opened 6 months ago

water500ml commented 6 months ago

python run.py --tasks captioning --datasets m4c_textcaps --model m4c_captioner --config configs/captioning/m4c_textcaps/m4c_captioner.yml --save_dir save/m4c_captioner training_parameters.data_parallel True Overriding option training_parameters.data_parallel to True You have chosen to seed the training. This will turn on CUDNN deterministic setting which can slow down your training considerably! You may see unexpected behavior when restarting from checkpoints. Traceback (most recent call last): File "run.py", line 102, in run() File "run.py", line 86, in run trainer = build_trainer(args) File "/data/txs/hjl/AnchorCaptioner/pythia/utils/build_utils.py", line 30, in build_trainer trainer_obj = trainer_cls(config) TypeError: 'NoneType' object is not callable 很抱歉打扰到您,我在 TextCaps 训练集上训练 M4C-Captioner 模型时遇到了上面的问题,您能告诉我应该怎么做能让训练跑起来吗 提前感谢您的答复