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

GBK encoding error #10

Open
SWJDADA opened this issue Oct 10, 2023 · 3 comments
Open

GBK encoding error #10

SWJDADA opened this issue Oct 10, 2023 · 3 comments

Comments

@SWJDADA
Copy link

SWJDADA commented Oct 10, 2023

I would like to know how to solve the GBK encoding problem. Thank you for your reply.
The error is as follows: File "Traceback (most recent call last):
File "C:/Programming/phytorch_table-rec/MTL TabNet main/table-recognition/demo/demo. py", line 357, in
Tablemaster_ Inference=Structure_ Recognition (args. tablemaster_config, args. tablemaster_checkpoint)
File "C: Programming pytorch_table-rec MTL TabNet main table-recognition table_inference. py", line 62, in__ Init__
Super()__ Init__ (config_file, checkpoint file)
File "C: Programming pytorch_table-rec MTL TabNet main table-recognition table_inference. py", line 38, in__ Init__
Self. model=build_ Model (config_file, checkpoint file)
File "C: Programming pytorch_table-rec MTL TabNet main table-recognition table_inference. py", line 25, in build_ Model
Model=init_ Detector (config_file, checkpoint=checkpoint file, device=device)
File "c: approgramming pytorch_tablerec mtl tablet main mmdetection-2.11.0 mmdet apis conference. py", line 34, in init_ Detector
Config=mmcv Config. fromfile (config)
File "C: Programming software Anaconda3 envs mtl lib site packages mmcv utils config. py", line 331, in from file
Cfg_ Dict, cfg_ Text=Config_ File2dict (filename,
File "C: Programming software Anaconda3 envs mtl lib site packages mmcv utils config. py", line 206, in_ File2dict
Mod=import_ Module (temp_module_name)
File "C: Programming software Anaconda3 envs mtl lib importlib init. py", line 127, in import_ Module
Return_ Bootstrap_ Gcd_ Import (name [level:], package, level)
File "", line 1014, in_ Gcd_ Import
File "", line 991, in_ Find_ And_ Load
File "", line 975, in_ Find_ And_ Load_ Unlocked
File "", line 671, in_ Load_ Unlocked
File "", line 843, in exec_ Module
File "", line 219, in_ Call_ With_ Frames_ Removed
File "C: Users SWJDADA AppData Local Temp tmpw1sos64h tmplf3mr0ss. py", line 11, in
Unicode DecodeError: 'gbk' code can't decode byte 0xa4 in position 77: illegal multibyte sequence
Process finished with exit code 1
C: Users AA AppData Local Temp tmpw1sos64h tmplf3mr0ss. py ", line 11, in
Unicode DecodeError: 'gbk' code can't decode byte 0xa4 in position 77: illegal multibyte sequence

@jianyu-zheng
Copy link

Hello, have you solved the problem? I also encountered the same problem.

@SWJDADA
Copy link
Author

SWJDADA commented Oct 30, 2023

Hello, have you solved the problem? I also encountered the same problem.

This problem has not been resolved yet. Do you have a solution?

@yayaicode
Copy link

Hello, have you solved the problem so far? I also encountered the same problem and I don't have any idea.

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

3 participants