Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training problem #68

Open
pjw-cmd opened this issue Jul 19, 2023 · 0 comments
Open

Training problem #68

pjw-cmd opened this issue Jul 19, 2023 · 0 comments

Comments

@pjw-cmd
Copy link

pjw-cmd commented Jul 19, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant