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

Other networks #4

Open
Epi-NMT opened this issue Oct 31, 2019 · 3 comments
Open

Other networks #4

Epi-NMT opened this issue Oct 31, 2019 · 3 comments

Comments

@Epi-NMT
Copy link

Epi-NMT commented Oct 31, 2019

Can this code apply to other pretrained networks? like resnet18, resnet50.
Based on the line 361 in model_PACS, it seems it cannot apply on resnet18.
I have tried resnet50, but there are many details need to be modified.

@liyiying
Copy link
Owner

liyiying commented Nov 1, 2019

Yes, it can be applied to other networks. Line 361 here is not to emphasize the version of Resnet "18". The batchnorm function is used in the BasicBlock/Bottleneck which are used by different versions of ResNet. If you read the source code of ResNet carefully, you won't have such questions. Well, actually you need to modify some details if you use other networks. I believe you can find these places to modify by debugging.

@Epi-NMT
Copy link
Author

Epi-NMT commented Nov 3, 2019

Have you ever try your method on resnet18 or resnet50?
How is the performance?

@liyiying
Copy link
Owner

liyiying commented Nov 4, 2019 via email

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