Spaces:
Runtime error
Runtime error
rohithk-03 commited on
Commit ·
46eaf62
1
Parent(s): 0a796a0
update model code
Browse files
model.py
CHANGED
|
@@ -137,7 +137,7 @@ def check_file(image_path):
|
|
| 137 |
outputs = model(images)
|
| 138 |
_, predicted = torch.max(outputs.data, 1)
|
| 139 |
output = predicted
|
| 140 |
-
return
|
| 141 |
|
| 142 |
def remove_module_from_checkpoint(checkpoint):
|
| 143 |
new_state_dict = {}
|
|
|
|
| 137 |
outputs = model(images)
|
| 138 |
_, predicted = torch.max(outputs.data, 1)
|
| 139 |
output = predicted
|
| 140 |
+
return predicted
|
| 141 |
|
| 142 |
def remove_module_from_checkpoint(checkpoint):
|
| 143 |
new_state_dict = {}
|