facebookresearch / mmf

A modular framework for vision & language multimodal research from Facebook AI Research (FAIR)
https://mmf.sh/
Other
5.5k stars 939 forks source link

UnboundLocalError: local variable 'should_log' referenced before assignment #378

Closed webYFDT closed 4 years ago

webYFDT commented 4 years ago

command: mmf_run config=projects/hateful_memes/configs/mmbt/defaults.yaml model=mmbt dataset=hateful_memes run_type=train_val When I run the above command, there is a bug

截屏2020-07-01 下午7 00 34
apsdehal commented 4 years ago

It seems like training is still crashing due tb_writer in training_loop. It should be accessed via logistics callback.