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

window10 has a coding problem in the process of reasoning, how to solve it. #157

Open
KKKKK11111111111111 opened this issue Jan 9, 2025 · 0 comments

Comments

@KKKKK11111111111111
Copy link

(s2anet) PS D:\Project\S2ANET\s2anet> python demo/demo_inference.py configs/dota/s2anet_r50_fpn_1x_dota.py s2anet_r50_fpn_1x_epoch_12_20200815.pth D:\Project\data\Data\processed_data\USAD-AOD\model-data\val\images test_images
D:\Anaconda\envs\s2anet\lib\site-packages\albumentations\check_version.py:49: UserWarning: Error fetching version info The read operation timed out
data = fetch_version_info()
Traceback (most recent call last):
File "demo/demo_inference.py", line 112, in
save_det_result(args.config_file, args.out_dir, checkpoint_file=args.model, img_dir=args.img_dir,
File "demo/demo_inference.py", line 58, in save_det_result
cfg = Config.fromfile(config_file)
File "D:\Anaconda\envs\s2anet\lib\site-packages\mmcv\utils\config.py", line 97, in fromfile
return Config(cfg_dict, filename=filename)
File "D:\Anaconda\envs\s2anet\lib\site-packages\mmcv\utils\config.py", line 123, in init
super(Config, self).setattr('_text', f.read())
UnicodeDecodeError: 'gbk' codec can't decode byte 0xb9 in position 8416: illegal multibyte sequence

@KKKKK11111111111111 KKKKK11111111111111 changed the title How to solve this problem, I am running in window10. window10 has a coding problem in the process of reasoning, how to solve it. Jan 9, 2025
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