xmshi-trio / MSL

Other
22 stars 4 forks source link

bug #2

Closed wjczf123 closed 3 years ago

wjczf123 commented 3 years ago

I use python train.py conf/train.json to run your code and find that FileNotFoundError: [Errno 2] No such file or directory: 'conf/train.json'. I also try python train.py conf/train_rcnn.json. It doesn't work. What are the training instruction?

xmshi-trio commented 3 years ago

Have you try python train.py ./conf/train_cnn.json?

wjczf123 commented 3 years ago

I run python train.py conf/train_rcnn.json and python train.py conf/train_cnn.json. The result is: OSError: Can't load config for '/dockerdata/xiaomingshi/chinese_L-12_H-768_A-12'. Make sure that:

Then I modify "pretrained_bert_embedding": "bert-base-chinese" in train_cnn.json Line 44. Then the result is; JSONDecodeError: Expecting property name enclosed in double quotes: line 44 column 5 (char 1145).