You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
loading annotations into memory...
Done (t=0.02s)
creating index...
index created!
2020-08-03 10:24:10,579-INFO: 2501 samples in train set.
WARNING:tensorflow:Output yolo_loss_1 missing from loss dictionary. We assume this was done on purpose. The fit and evaluate APIs will not be expecting any data to be passed to yolo_loss_1.
2020-08-03 10:24:10,604-WARNING: Output yolo_loss_1 missing from loss dictionary. We assume this was done on purpose. The fit and evaluate APIs will not be expecting any data to be passed to yolo_loss_1.
WARNING:tensorflow:Output yolo_loss_2 missing from loss dictionary. We assume this was done on purpose. The fit and evaluate APIs will not be expecting any data to be passed to yolo_loss_2.
2020-08-03 10:24:10,604-WARNING: Output yolo_loss_2 missing from loss dictionary. We assume this was done on purpose. The fit and evaluate APIs will not be expecting any data to be passed to yolo_loss_2.
Traceback (most recent call last):
File "C:\Users\AI Lord.conda\envs\pytorch_lib\lib\site-packages\tensorflow_core\python\framework\ops.py", line 1619, in _create_c_op
c_op = c_api.TF_FinishOperation(op_desc)
tensorflow.python.framework.errors_impl.InvalidArgumentError: slice index -1 of dimension 0 out of bounds. for 'loss/yolo_loss_loss/strided_slice' (op: 'StridedSlice') with input shapes: [0], [1], [1], [1] and with computed input tensors: input[1] = <-1>, input[2] = <0>, input[3] = <1>.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:/Yolov4_资料/yolov4_test/train.py", line 360, in
model.compile(loss={'yolo_loss': lambda y_true, y_pred: y_pred}, optimizer=Adam(lr=cfg.lr))
请问这个错误怎么解决?不是很明白. 谢谢
The text was updated successfully, but these errors were encountered:
loading annotations into memory...
Done (t=0.02s)
creating index...
index created!
2020-08-03 10:24:10,579-INFO: 2501 samples in train set.
WARNING:tensorflow:Output yolo_loss_1 missing from loss dictionary. We assume this was done on purpose. The fit and evaluate APIs will not be expecting any data to be passed to yolo_loss_1.
2020-08-03 10:24:10,604-WARNING: Output yolo_loss_1 missing from loss dictionary. We assume this was done on purpose. The fit and evaluate APIs will not be expecting any data to be passed to yolo_loss_1.
WARNING:tensorflow:Output yolo_loss_2 missing from loss dictionary. We assume this was done on purpose. The fit and evaluate APIs will not be expecting any data to be passed to yolo_loss_2.
2020-08-03 10:24:10,604-WARNING: Output yolo_loss_2 missing from loss dictionary. We assume this was done on purpose. The fit and evaluate APIs will not be expecting any data to be passed to yolo_loss_2.
Traceback (most recent call last):
File "C:\Users\AI Lord.conda\envs\pytorch_lib\lib\site-packages\tensorflow_core\python\framework\ops.py", line 1619, in _create_c_op
c_op = c_api.TF_FinishOperation(op_desc)
tensorflow.python.framework.errors_impl.InvalidArgumentError: slice index -1 of dimension 0 out of bounds. for 'loss/yolo_loss_loss/strided_slice' (op: 'StridedSlice') with input shapes: [0], [1], [1], [1] and with computed input tensors: input[1] = <-1>, input[2] = <0>, input[3] = <1>.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:/Yolov4_资料/yolov4_test/train.py", line 360, in
model.compile(loss={'yolo_loss': lambda y_true, y_pred: y_pred}, optimizer=Adam(lr=cfg.lr))
请问这个错误怎么解决?不是很明白. 谢谢
The text was updated successfully, but these errors were encountered: