Spaces:
Sleeping
Sleeping
Commit
·
7bdadbc
1
Parent(s):
32b7474
mobilenet update1
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from PIL import Image
|
|
| 5 |
import requests
|
| 6 |
|
| 7 |
# Load the pre-trained ResNet model
|
| 8 |
-
model = models.
|
| 9 |
model.eval()
|
| 10 |
|
| 11 |
# Define the transformation for input images
|
|
|
|
| 5 |
import requests
|
| 6 |
|
| 7 |
# Load the pre-trained ResNet model
|
| 8 |
+
model = models.mobilenet_v2(pretrained=True)
|
| 9 |
model.eval()
|
| 10 |
|
| 11 |
# Define the transformation for input images
|