Closed henbucuoshanghai closed 4 years ago
What are those question marks? I cannot understand your question.
blocks means resnet50??? but why compute [net, net2, net3, net4]???
I cannot understand your question. That is just pytorch official resnet code.
pytorch official resnet code? tensorflow??
Sorry, tensorflow
official resnet code. resnet v1? but the official code is bad to understand,too complex to understand..
blocks = [ resnet_utils.Block('block1', bottleneck, [(256, 64, 1)] 2 + [(256, 64, 1)]), resnet_utils.Block('block2', bottleneck, [(512, 128, 2)] + [(512, 128, 1)] 3), resnet_utils.Block('block3', bottleneck, [(1024, 256, 2)] + [(1024, 256, 1)] 5), resnet_utils.Block('block4', bottleneck, [(2048, 512, 2)] + [(2048, 512, 1)] 2) ]
blocks means resnet50??? but why compute net1234??? resnet_features = [net, net2, net3, net4] return resnet_features
it means???