smallcorgi / Faster-RCNN_TF

Faster-RCNN in Tensorflow
MIT License
2.34k stars 1.12k forks source link

TypeError: __int__ returned non-int (type NoneType) #335

Open F-Quasimo opened 5 years ago

henbucuoshanghai commented 5 years ago

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)

henbucuoshanghai commented 5 years ago

why this error? how to fix it?

henbucuoshanghai commented 5 years ago

cry please...

jikuiboo commented 5 years ago

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

henbucuoshanghai commented 5 years ago

so i gived up where is the author???solver it

------------------ 原始邮件 ------------------ 发件人: "jikuiboo"notifications@github.com; 发送时间: 2019年5月26日(星期天) 下午5:15 收件人: "smallcorgi/Faster-RCNN_TF"Faster-RCNN_TF@noreply.github.com; 抄送: "很不错学生"1119006913@qq.com; "Comment"comment@noreply.github.com; 主题: Re: [smallcorgi/Faster-RCNN_TF] TypeError: int returned non-int(type NoneType) (#335)

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

2018daofeng commented 4 years ago

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

sherlockers commented 3 years ago

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

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