macabdul9/CASA-Dialogue-Act-Classifier

'str' object has no attribute 'size' during training

mhoangvslev opened this issue · 4 comments

It just happened when I run the main.py

Hi @mhoangvslev ,

Have you tried training it on your local machine or kaggle (Notebook). I think if you don't have API key it will log locally also you can comment line 65 and 91 in Trainer.py and line 20-25 and 42 in main.py to disable the wandb logger.

Hope this helps.

Can you paste the whole error message here and can tell me where and how are you running this?

I resolved the issue by downgrading transformers to 3.0.0

pip install transformers=3.0.0

Great, closing it.