-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
traing error #36
Comments
When I run the train.py,I also can‘t train my data.It's also the problem: OutOfRangeError: End of sequence During handling of the above exception, another exception occurred。OutOfRangeError Traceback (most recent call last) Do you know what's the problem? |
I also got this problems and have solved this problems. when you do data_augmentation. there are some problems in crop code. if one object is not in the distort_box, the croped_xmin and croped_xmax will be the same, in this way, you will get this problems |
@rainley123 . So how did you solved this? |
Just add a code to judge if the croped_xmin is equal to the croped_xmax, is they are the same, remove the label and box, because this object will not be in the picture after crop. if the object is not in the dist_box, just remove it
|
Thanks a lot, I gonna try it. |
UnknownError: IndexError: index 89 is out of bounds for axis 0 with size 88 File "D:\Users\madhu\Anaconda3\envs\yolo\lib\site-packages\tensorflow\python\ops\script_ops.py", line 206, in call File "C:\Users\madhu\Desktop\working\tensorflow-yolov3-master\core\dataset.py", line 180, in preprocess_true_boxes IndexError: index 89 is out of bounds for axis 0 with size 88
for some reason i am also getting the same error. I have included the above code, still there is no change. |
I was receiving this same error.If you have some classes like me, make sure your label class names start from index 0 and not 1. |
My class names are labeled from zero only. If you know any further info please let me know |
hello,i met the same problem with u,have u solved it? |
yes, i cropped my images and labels were not modified. |
请问这段代码添加在哪里 |
=> EPOCH: 341 loss_xy: 1.6257 loss_wh: 4.0940 loss_conf:4570.6030 loss_class:14.2002
=> EPOCH: 342 loss_xy: 1.5741 loss_wh: 2.6803 loss_conf:4656.8652 loss_class:11.8622
=> EPOCH: 343 loss_xy: 1.3638 loss_wh: 2.3212 loss_conf:4657.7090 loss_class:11.4552
2019-01-22 16:34:48.172989: W tensorflow/core/framework/op_kernel.cc:1261] Unknown: IndexError: index 13 is out of bounds for axis 0 with size 13
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/script_ops.py", line 206, in call
ret = func(*args)
File "........../tensorflow-yolov3/core/dataset.py", line 105, in preprocess_true_boxes
y_true[l][j, i, k, 0:4] = gt_boxes[t, 0:4]
IndexError: index 13 is out of bounds for axis 0 with size 13
what's wrong
The text was updated successfully, but these errors were encountered: