We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.使用Kmeans生成先验anchors报错 (t1.9g) D:\Program Files\pycharm\code\Zhangxinyu_Safehat>python get_kmeans.py Traceback (most recent call last): File "get_kmeans.py", line 143, in anno_result = parse_anno(annotation_path, target_size=target_size) File "get_kmeans.py", line 101, in parse_anno img_w = int(float(s[2])) ValueError: could not convert string to float: 'Files\pycharm\code\Zhangxinyu_Safehat\data/my_data/JPEGImages/000003.jpg'
2.运行 python train.py时报错
----------- start to train -----------
0%| | 0/171 [00:00<?, ?it/s]2 021-04-13 18:10:27.341428: W C:\users\nwani_bazel_nwani\ujdkfsks\execroot\org_tensorflow\tensorflow\core\framework\op_kernel.cc:1306] Invalid argu ment: ValueError: invalid literal for int() with base 10: 'Files\pycharm\code\Zhangxinyu_Safehat\data/my_data/JPEGImages/part2_000959.jpg'
The text was updated successfully, but these errors were encountered:
您好,请问这个问题解决了吗
Sorry, something went wrong.
No branches or pull requests
1.使用Kmeans生成先验anchors报错
(t1.9g) D:\Program Files\pycharm\code\Zhangxinyu_Safehat>python get_kmeans.py
Traceback (most recent call last):
File "get_kmeans.py", line 143, in
anno_result = parse_anno(annotation_path, target_size=target_size)
File "get_kmeans.py", line 101, in parse_anno
img_w = int(float(s[2]))
ValueError: could not convert string to float: 'Files\pycharm\code\Zhangxinyu_Safehat\data/my_data/JPEGImages/000003.jpg'
2.运行 python train.py时报错
----------- start to train -----------
0%| | 0/171 [00:00<?, ?it/s]2
021-04-13 18:10:27.341428: W C:\users\nwani_bazel_nwani\ujdkfsks\execroot\org_tensorflow\tensorflow\core\framework\op_kernel.cc:1306] Invalid argu
ment: ValueError: invalid literal for int() with base 10: 'Files\pycharm\code\Zhangxinyu_Safehat\data/my_data/JPEGImages/part2_000959.jpg'
The text was updated successfully, but these errors were encountered: