Spaces:
Runtime error
Runtime error
initial commit
Browse files
app.py
CHANGED
|
@@ -130,7 +130,7 @@ labels_map = {
|
|
| 130 |
9: "Ankle Boot",
|
| 131 |
}
|
| 132 |
|
| 133 |
-
myVAE2 = torch.load("checkpoint10.pt").to("cpu")
|
| 134 |
myVAE2.eval()
|
| 135 |
|
| 136 |
def sample():
|
|
|
|
| 130 |
9: "Ankle Boot",
|
| 131 |
}
|
| 132 |
|
| 133 |
+
myVAE2 = torch.load("checkpoint10.pt", map_location=torch.device('cpu')).to("cpu")
|
| 134 |
myVAE2.eval()
|
| 135 |
|
| 136 |
def sample():
|