首页 / 浏览问题 / 桌面GIS / 问题详情
关于采用Dlinknet进行机器学习的问题
4EXP 2022年10月20日

使用产品:idesktopX 11i(2022) 操作系统:win11 x64 数据类型:udx

在采用Dlinknet对模型进行训练的过程中,产生了如下的提示,请问如何解决;

件\training_data",config=r"E:\WorkingFile\supermap\supermap-idesktopx-11.0.0-0719-32-95750-win64-bin-zip-extension-ai\resources_ml\trainer_config\binary_classification\binary_cls_dlinknet.sdt",epoch=int(10),batch_size=int(1),lr=1.0E-4,output_model_path=r"E:\WorkingFile\supermap\20221019\模型训练\结果数据",output_model_name=r"saved_model",backbone_name=r"efficientnet-b3",backbone_weight_path=None,log_path=r"E:\WorkingFile\supermap\20221019\模型训练\Diray",reload_model=False,pretrained_model_path=None,gpus=[0]).binary_classify_train()
  File "E:\teamcity\BuildAgent\work\test_trunk/iobjectspy/ml\vision\_trainer.py", line 214, in binary_classify_train
  File "E:\teamcity\BuildAgent\work\test_trunk/iobjectspy/ml\vision\_trainer_collector\binary_classification_train.py", line 34, in train
  File "E:\teamcity\BuildAgent\work\test_trunk/iobjectspy/ml\vision\_trainer_collector\binary_classification_train.py", line 59, in dlinknet_pytorch
  File "E:\teamcity\BuildAgent\work\test_trunk/iobjectspy/ml\vision\_models\semantic_seg\_torch_models\geo_api\train_api.py", line 104, in train
  File "E:\teamcity\BuildAgent\work\test_trunk/iobjectspy/ml\vision\_models\semantic_seg\_torch_models\geo_api\train_api.py", line 297, in main_worker
  File "E:\teamcity\BuildAgent\work\test_trunk/iobjectspy/ml\vision\_models\semantic_seg\_torch_models\geo_api\dataset_seg.py", line 52, in __init__
  File "E:\teamcity\BuildAgent\work\test_trunk/iobjectspy/ml\vision\_models\semantic_seg\_torch_models\geo_api\_toolkit.py", line 40, in list_xy_file_fromtxt
UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 35: illegal multibyte sequence

1个回答

机器学习的模块不支持中文等特殊符号的路径,建议软件部署路径和参数设置的路径都改为纯英文的路径。
1,560EXP 2022年10月21日
...