namtuanly / MTL-TabNet

MTL-TabNet: Multi-task Learning based Model for Image-based Table Recognition
Apache License 2.0
78 stars 12 forks source link

GBK encoding error #10

Open SWJDADA opened 8 months ago

SWJDADA commented 8 months ago

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/phytorchtable-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 tableinference. py", line 38, in Init Self. model=build Model (config_file, checkpoint file) File "C: Programming pytorch_table-rec MTL TabNet main table-recognition tableinference. py", line 25, in build Model Model=init_ Detector (config_file, checkpoint=checkpoint file, device=device) File "c: approgramming pytorchtablerec 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_modulename) 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 commented 8 months ago

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

SWJDADA commented 8 months ago

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

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