dd
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import gradio as gr
|
|
4 |
import torch
|
5 |
import torchvision
|
6 |
|
7 |
-
|
8 |
state_dict = checkpoint["state_dict"]
|
9 |
model_weights = state_dict
|
10 |
for key in list(model_weights):
|
|
|
4 |
import torch
|
5 |
import torchvision
|
6 |
|
7 |
+
checkpoint = torch.load('v4-epoch=19-val_loss=0.6964-val_accuracy=0.8964.ckpt', map_location=torch.device('cpu'))
|
8 |
state_dict = checkpoint["state_dict"]
|
9 |
model_weights = state_dict
|
10 |
for key in list(model_weights):
|