Update app.py
Browse files
app.py
CHANGED
|
@@ -37,10 +37,7 @@ def preprocess(image):
|
|
| 37 |
|
| 38 |
return image
|
| 39 |
|
| 40 |
-
|
| 41 |
-
transforms.ToTensor(),
|
| 42 |
-
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
|
| 43 |
-
])
|
| 44 |
|
| 45 |
# Start from ORT 1.10, ORT requires explicitly setting the providers parameter if you want to use execution providers
|
| 46 |
# other than the default CPU provider (as opposed to the previous behavior of providers getting set/registered by default
|
|
|
|
| 37 |
|
| 38 |
return image
|
| 39 |
|
| 40 |
+
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
# Start from ORT 1.10, ORT requires explicitly setting the providers parameter if you want to use execution providers
|
| 43 |
# other than the default CPU provider (as opposed to the previous behavior of providers getting set/registered by default
|