DetectionTeamUCAS / FPN_Tensorflow

This is a tensorflow re-implementation of Feature Pyramid Networks for Object Detection.
https://github.com/DetectionTeamUCAS/FPN_Tensorflow
MIT License
348 stars 132 forks source link

基础网络Mobilenetv2的时候训练的时候报了这个错误 #20

Closed HelloWorld19930113 closed 5 years ago

HelloWorld19930113 commented 5 years ago

Traceback (most recent call last): File "/home/litao/Algorithm/FPN_Tensorflow-master/tools/train.py", line 188, in train() File "/home/litao/Algorithm/FPN_Tensorflow-master/tools/train.py", line 48, in train gtboxes_batch=gtboxes_and_label) File "../libs/networks/build_whole_network.py", line 390, in build_whole_detection_network for level_name, p in zip(cfgs.LEVLES, P_list): File "/home/litao/anaconda2/envs/tensorflow/lib/python3.5/site-packages/tensorflow/python/framework/ops.py", line 431, in iter "Tensor objects are not iterable when eager execution is not " TypeError: Tensor objects are not iterable when eager execution is not enabled. To iterate over this tensor use tf.map_fn.

yangxue0827 commented 5 years ago

MobileNetv2我没有改,暂不支持。 @HelloWorld19930113

HelloWorld19930113 commented 5 years ago

res101的时候训练没什么问题,就是在MobileNetV2的时候报了这个错,不知道该怎么改了

HelloWorld19930113 commented 5 years ago

哦哦,谢谢啦