smallcorgi / Faster-RCNN_TF

Faster-RCNN in Tensorflow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: __int__ returned non-int (type NoneType)

F-Quasimo opened this issue · comments

File "/home/ubuntu/Faster-RCNN_TF/tools/../lib/networks/VGGnet_test.py", line 57, in setup
.fc(4096, name='fc6')
File "/home/ubuntu/Faster-RCNN_TF/tools/../lib/networks/network.py", line 25, in layer_decorated
layer_output = op(self, layer_input, *args, **kwargs)
File "/home/ubuntu/Faster-RCNN_TF/tools/../lib/networks/network.py", line 246, in fc
feed_in, dim = (input, int(input_shape[-1]))
TypeError: int returned non-int (type NoneType)

why this error? how to fix it?

cry
please...

I meet this same issue too. Hope anybody to resolve this.

预训练模型的问题,可能是下载的不完整或者 模型又被别的数据集训练过。我重新下载了一下就好了。

预训练模型的问题,可能是下载的不完整或者 模型又被别的数据集训练过。我重新下载了一下就好了。

我也遇到了这个问题,可是重新下载了预训练模型也没有用