Open ggg-s opened 1 year ago
get_model(checkpoint).cuda()-->get_model(checkpoint)[0].cuda() model.extract_features(image) ---> model.extract_features(image_tensor)
get_model(checkpoint).cuda()-->get_model(checkpoint)[0].cuda() model.extract_features(image) ---> model.extract_features(image_tensor)