JiaquanYe / TableMASTER-mmocr

2nd solution of ICDAR 2021 Competition on Scientific Literature Parsing, Task B.
Apache License 2.0
442 stars 104 forks source link

Training problem #68

Open pjw-cmd opened 1 year ago

pjw-cmd commented 1 year ago

I have processed all the preprocessed data.I have some prolems when running script: sh ./table_recognition/expr/table_recognition_dist_train.sh.Here are the details. (pjw) pengjw@gilab-01:~/TableMASTER-mmocr-master$ sh ./table_recognition/expr/table_recognition_dist_train.sh bash: warning: setlocale: LC_ALL: cannot change locale (zh_CN.GBK) Traceback (most recent call last): File "./tools/train.py", line 212, in main() File "./tools/train.py", line 100, in main cfg = Config.fromfile(args.config) File "/data/anaconda3/envs/pjw1/lib/python3.6/site-packages/mmcv/utils/config.py", line 316, in fromfile use_predefined_variables) File "/data/anaconda3/envs/pjw1/lib/python3.6/site-packages/mmcv/utils/config.py", line 194, in _file2dict temp_config_file.name) File "/data/anaconda3/envs/pjw1/lib/python3.6/site-packages/mmcv/utils/config.py", line 124, in _substitute_predefined_vars tmp_config_file.write(config_file) UnicodeEncodeError: 'ascii' codec can't encode characters in position 175-177: ordinal not in range(128) Exception ignored in: <bound method _TemporaryFileCloser.del of <tempfile._TemporaryFileCloser object at 0x7faca7f17668>> Traceback (most recent call last): File "/data/anaconda3/envs/pjw1/lib/python3.6/tempfile.py", line 452, in del self.close() File "/data/anaconda3/envs/pjw1/lib/python3.6/tempfile.py", line 448, in close unlink(self.name) FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpo6b2o92v/tmp5og6r7y1.py' I don't understand what that means,Can you give me some advice.Thanks.