YOLOv3_TensorFlow2 icon indicating copy to clipboard operation
YOLOv3_TensorFlow2 copied to clipboard

您好,我在解码时遇到了一些问题

Open Sssyz opened this issue 5 years ago • 3 comments

您好,在运行时出现了这样的错误UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd5 in position 95: invalid continuation byte

这里出现了问题 train_from_scratch.py, line 74, in train_step(image_batch=process_image_filenames(images), label_batch=labels)

Sssyz avatar Jan 20 '20 15:01 Sssyz

确保configuration.py中的参数是设置正确的,还有数据集都在正确的目录下。

calmiLovesAI avatar Jan 21 '20 01:01 calmiLovesAI

谢谢! 我还有一个疑问,我在第一次迭代时Loss下降情况正常。 但在第二次迭代训练集时,loss会在到达一个数后(如84)开始慢慢变大又慢慢变小,这样一直反复,但不会继续下降,调低了learning_rate也没有改进,请问是什么问题?如何能让loss继续下降? 十分感谢!

------------------ 原始邮件 ------------------ 发件人: "calmisential"<[email protected]>; 发送时间: 2020年1月21日(星期二) 上午9:16 收件人: "calmisential/YOLOv3_TensorFlow2"<[email protected]>; 抄送: "宋昱"<[email protected]>; "Author"<[email protected]>; 主题: Re: [calmisential/YOLOv3_TensorFlow2] 您好,我在解码时遇到了一些问题 (#4)

确保configuration.py中的参数是设置正确的,还有数据集都在正确的目录下。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Sssyz avatar Jan 21 '20 18:01 Sssyz

您好,在运行时出现了这样的错误UnicodeDecodeError:“ utf-8”编解码器无法解码位置95处的字节0xd5:无效的连续字节

这里出现了问题train_from_scratch.py​​,第74行,位于 train_step中(image_batch = process_image_filenames(图像),label_batch = labels)

您好 我遇到了和你一样的问题, Syntax Error: (unicode error) 'unicodeescape' codec can't decode bytes in position 166-167: truncated \uXXXX escape 可以确定数据集目录位置正确, 请问configuration.py中您修改了哪些位置? 我尝试修改了,也使用了默认的configuration 都不行

ghost avatar Mar 10 '20 09:03 ghost