You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
5-shot means they are 5 images as the same way, and use torch.sum() makes the same way pictures feature becoming one(five before, a little like average),so 5(way)5(shot)641919(feature) becomes 5(way)6419*19(feature)
5-shot means they are 5 images as the same way, and use torch.sum() makes the same way pictures feature becoming one(five before, a little like average),so 5(way)_5(shot)_64_19_19(feature) becomes 5(way)_64_19*19(feature)
sample_features = feature_encoder(Variable(samples)) # 25x6455
sample_features = sample_features.view(CLASS_NUM,SAMPLE_NUM_PER_CLASS,FEATURE_DIM,5,5) sample_features = torch.sum(sample_features,1).squeeze(1)
The text was updated successfully, but these errors were encountered: