rshaojimmy / MultiModal-DeepFake

[TPAMI 2024 & CVPR 2023] PyTorch code for DGM4: Detecting and Grounding Multi-Modal Media Manipulation and beyond
Other
369 stars 28 forks source link

TypeError: add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class' #3

Closed liuxuannan closed 1 year ago

liuxuannan commented 1 year ago

Thank you for the new insight in multimodel deepfake detection! When running test.py, it will report an error -- TypeError: add_code_sample_docstrings() got an unexpected keyword argument 'tokenizer_class'.

rshaojimmy commented 1 year ago

Seems that you have not downloaded the bert-base-uncased checkpoint of bert model which should be downloaded automatically. Could you check it out.