Spaces:
Build error
Build error
shyamgupta196
commited on
Commit
•
956b27f
1
Parent(s):
c27b177
eval rem for pretrained
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from timm.data.transforms_factory import create_transform
|
|
6 |
|
7 |
LABELS = {0:'Cat', 1:'Dog'}
|
8 |
model = torch.load('CatVsDogsModel.pth',map_location='cpu')
|
9 |
-
|
10 |
transform = create_transform(**resolve_data_config({},model=model))
|
11 |
|
12 |
|
|
|
6 |
|
7 |
LABELS = {0:'Cat', 1:'Dog'}
|
8 |
model = torch.load('CatVsDogsModel.pth',map_location='cpu')
|
9 |
+
|
10 |
transform = create_transform(**resolve_data_config({},model=model))
|
11 |
|
12 |
|