Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ input_size = 768 + metadata_features # featurizer output size + metadata size
|
|
73 |
log_reg = LogisticRegressionTorch(input_dim=input_size, output_dim=N_UNIQUE_CLASSES)
|
74 |
|
75 |
# Load Weights
|
76 |
-
model_weights_path = '
|
77 |
weights = torch.load(model_weights_path, map_location=torch.device('cpu'))
|
78 |
|
79 |
base_model.load_state_dict(weights['model_state_dict'])
|
|
|
73 |
log_reg = LogisticRegressionTorch(input_dim=input_size, output_dim=N_UNIQUE_CLASSES)
|
74 |
|
75 |
# Load Weights
|
76 |
+
model_weights_path = 'gena-blastln-bs33-lr4e-05-S168.pth'
|
77 |
weights = torch.load(model_weights_path, map_location=torch.device('cpu'))
|
78 |
|
79 |
base_model.load_state_dict(weights['model_state_dict'])
|