0

使用 Keras Retinanet ( https://github.com/fizyr/keras-retinanet ) 对自定义数据集进行训练。在运行retinanet-train 命令时,出现以下错误

 File "c:\users\samjith.cp\anaconda3\lib\site-packages\tensorflow\python\ops\control_flow_util.py", line 350, in CheckInputFromValidContext
raise ValueError(error_msg + " See info log for more details.")
ValueError: Cannot use 'filtered_detections/map/while/strided_slice_1' as 
input to 'filtered_detections/map/while/ones/packed' 
because 'filtered_detections/map/while/strided_slice_1' is in a while loop. 
See info log for more details.

如何解决这个错误?

4

1 回答 1

0

根据这里
you can use tensorflow 1.14, keras 2.2.5 and keras-retinanet 0.5.1.

我可以确认它可以解决问题。

于 2020-06-02T14:44:59.277 回答