Spaces:
Runtime error
Runtime error
mehdiabruee
commited on
Commit
•
9e013b8
1
Parent(s):
8a3ceec
Update app.py
Browse files
app.py
CHANGED
@@ -136,7 +136,6 @@ model.load_state_dict(torch.load('G_A_HW4_SAVE.pt',map_location=torch.device('cp
|
|
136 |
print(model)
|
137 |
model.eval()
|
138 |
|
139 |
-
|
140 |
totensor = torchvision.transforms.ToTensor()
|
141 |
normalize_fn = torchvision.transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
|
142 |
topilimage = torchvision.transforms.ToPILImage()
|
|
|
136 |
print(model)
|
137 |
model.eval()
|
138 |
|
|
|
139 |
totensor = torchvision.transforms.ToTensor()
|
140 |
normalize_fn = torchvision.transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
|
141 |
topilimage = torchvision.transforms.ToPILImage()
|