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

Train运行错误的问题 #42

Open
Alex76budy opened this issue Aug 26, 2022 · 1 comment
Open

Train运行错误的问题 #42

Alex76budy opened this issue Aug 26, 2022 · 1 comment

Comments

@Alex76budy
Copy link

老师好,我在运行自己数据集时出现了以下错误,每次都是运行10个epoch后,calculate map后出现问题,
Traceback (most recent call last):
File "D:\python\pycharm\documentes\project\deep-learning-for-image-processing-master\object\mobilenet-yolov4-pytorch-main\utils\callbacks.py", line 208, in on_epoch_end
temp_map = get_coco_map(class_names = self.class_names, path = self.map_out_path)[1]
File "D:\python\pycharm\documentes\project\deep-learning-for-image-processing-master\object\mobilenet-yolov4-pytorch-main\utils\utils_map.py", line 910, in get_coco_map
results_dr = preprocess_dr(DR_PATH, class_names)
File "D:\python\pycharm\documentes\project\deep-learning-for-image-processing-master\object\mobilenet-yolov4-pytorch-main\utils\utils_map.py", line 874, in preprocess_dr
lines_list = file_lines_to_list(os.path.join(dr_path, image_id))
File "D:\python\pycharm\documentes\project\deep-learning-for-image-processing-master\object\mobilenet-yolov4-pytorch-main\utils\utils_map.py", line 145, in file_lines_to_list
content = f.readlines()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa1 in position 4: illegal multibyte sequence

@bubbliiiing
Copy link
Owner

中文

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

2 participants