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

How to implement this model to larger scale image task? #4

Closed
hmf21 opened this issue Apr 6, 2021 · 3 comments
Closed

How to implement this model to larger scale image task? #4

hmf21 opened this issue Apr 6, 2021 · 3 comments

Comments

@hmf21
Copy link

hmf21 commented Apr 6, 2021

Hi @leftthomas
the part of reconstruction for Capsnet works out by using nn.Linear as the last layer in self.decoder and for MNIST dataset, it is 784 output channel.
However, if we want to implement Capsnet to another image classification dataset such as 256*256 colored images, whether it has too much paremeters to be trained for reconstruction part. What should we do when facing this problem?
Very appreciate!

@leftthomas
Copy link
Owner

@hmf17 CapsNet requires many parameters, and need very powerful GPU to train, and I think it is not suitable for large size image till now.

@hmf21
Copy link
Author

hmf21 commented Apr 6, 2021

Hi @leftthomas Thanks for your reply, and according to your explanation CapsNet doesn't fit this task.
I am wondering if we remove the reconstruction part in loss function, can it be implemented in such large size image classification task?

@leftthomas
Copy link
Owner

@hmf17 no, the CapsNet is FC with for loop in essence, so it requires many parameters.

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