You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(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
The text was updated successfully, but these errors were encountered:
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
(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
The text was updated successfully, but these errors were encountered: