Open guoyi118 opened 3 years ago
I stuck the same problem.
I got the same issue. Later, I install it in google colab and able to run it successfully. You can watch my video and it will guide you to install TaBERT in Colab https://www.youtube.com/watch?v=3ZhpB5AAMHg
In my case, the problem was happend when executing setup_env.sh
Check the version compatibility of Cuda, Cudnn, torch, cudatoolkit on your computer.
File "test.py", line 1, in
from table_bert import TableBertModel
File "/home/sdq/guoyi/TaBERT/table_bert/init.py", line 8, in
from table_bert.config import TableBertConfig
File "/home/sdq/guoyi/TaBERT/table_bert/config.py", line 34, in
type_vocab_size=2,
TypeError: init() got an unexpected keyword argument 'layer_norm_eps'
Does anyone know how to fix it? Thanks