We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Strange. I have similar images 's1.jpg', 's2.jpg'
Case 1:
model_state_file = 'sop_uncropped_resnet50_SG_1536_0.1_0.5_0.1_128_model.pth' gd_config = 'SG' num_classes = 11318 state_dict = torch.load(model_state_file, map_location=torch.device('cpu')) net = Model('resnet50', gd_config, 1536, num_classes) net.load_state_dict(state_dict) net.eval()
Loss (Equlidean) = 0.48
Case 2: I change gd_config to 'GS'
model_state_file = 'sop_uncropped_resnet50_SG_1536_0.1_0.5_0.1_128_model.pth' gd_config = 'GS' num_classes = 11318 state_dict = torch.load(model_state_file, map_location=torch.device('cpu')) net = Model('resnet50', gd_config, 1536, num_classes) net.load_state_dict(state_dict) net.eval()
Loss (Equlidean) = 0.14
For other products - the same.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Strange.
I have similar images 's1.jpg', 's2.jpg'
Case 1:
model_state_file = 'sop_uncropped_resnet50_SG_1536_0.1_0.5_0.1_128_model.pth'
gd_config = 'SG'
num_classes = 11318
state_dict = torch.load(model_state_file, map_location=torch.device('cpu'))
net = Model('resnet50', gd_config, 1536, num_classes)
net.load_state_dict(state_dict)
net.eval()
Loss (Equlidean) = 0.48
Case 2:
I change gd_config to 'GS'
model_state_file = 'sop_uncropped_resnet50_SG_1536_0.1_0.5_0.1_128_model.pth'
gd_config = 'GS'
num_classes = 11318
state_dict = torch.load(model_state_file, map_location=torch.device('cpu'))
net = Model('resnet50', gd_config, 1536, num_classes)
net.load_state_dict(state_dict)
net.eval()
Loss (Equlidean) = 0.14
For other products - the same.
The text was updated successfully, but these errors were encountered: