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

features shape #5

Open
thormacy opened this issue Mar 31, 2018 · 2 comments
Open

features shape #5

thormacy opened this issue Mar 31, 2018 · 2 comments

Comments

@thormacy
Copy link

I am trying to run the model, but there's a error in this line:
features = np.concatenate([features_resnet, features_densenet, features_inception], axis=-1)
Error is caused by the inconsistent dimensions.

Then I check the shape of features_resnet, features_densenet, features_inception. Find that their shapes are not the same. I pretrain the features using the preprocessing file.

@thormacy
Copy link
Author

Thanks for any suggestion

@ypwhs
Copy link
Owner

ypwhs commented Apr 1, 2018

可能由于 gluon 的更新,你需要加一个 GlobalAveragePooling。

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

2 participants