pytorch-siamese-triplet
pytorch-siamese-triplet copied to clipboard
choosing architectures
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
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
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
oh yes. they are same