Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
F-Quasimo opened this issue May 14, 2019 · 7 comments
Open

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

F-Quasimo opened this issue May 14, 2019 · 7 comments

Comments

@F-Quasimo
Copy link

No description provided.

@henbucuoshanghai
Copy link

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
Copy link

why this error? how to fix it?

@henbucuoshanghai
Copy link

cry
please...

@jikuiboo
Copy link

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

@henbucuoshanghai
Copy link

henbucuoshanghai commented May 26, 2019 via email

@2018daofeng
Copy link

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

@sherlockers
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants