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

choosing architectures #3

Open
sezan92 opened this issue Oct 9, 2020 · 4 comments · May be fixed by #4
Open

choosing architectures #3

sezan92 opened this issue Oct 9, 2020 · 4 comments · May be fixed by #4

Comments

@sezan92
Copy link

sezan92 commented Oct 9, 2020

No description provided.

@sezan92 sezan92 linked a pull request Oct 9, 2020 that will close this issue
@avilash
Copy link
Owner

avilash commented Oct 11, 2020

Looks good, will test each one and merge. The only doubt I have is the number modules of each architecture. I believe they are same for all the architectures and hence shouldn't be a problem

@sezan92
Copy link
Author

sezan92 commented Oct 12, 2020

can you explain by "number of modules for each architectures"? i see the training worked after changing the archs to resnet 18 and 34 at least

@avilash
Copy link
Owner

avilash commented Oct 12, 2020

self.features = nn.Sequential(resnet.conv1, resnet.bn1, resnet.relu, resnet.maxpool, resnet.layer1, resnet.layer2, resnet.layer3, resnet.layer4, resnet.avgpool)
https://github.com/avilash/pytorch-siamese-triplet/blob/master/model/embedding.py#L12
These are the modules.
Should be same across architectures

@sezan92
Copy link
Author

sezan92 commented Oct 13, 2020

oh yes. they are same

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

Successfully merging a pull request may close this issue.

2 participants