darpanaswal commited on
Commit
5fa6422
·
verified ·
1 Parent(s): d5ca01c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ with urllib.request.urlopen(url) as f:
32
  cifar10_classes = {int(k): v[1] for k, v in imagenet_classes.items()}
33
 
34
  # Load the pre-trained ResNet model
35
- model = models.resnet152(pretrained=True)
36
 
37
  # Modify the classifier for 6 classes with an additional hidden layer
38
  # model.fc = nn.Sequential(
 
32
  cifar10_classes = {int(k): v[1] for k, v in imagenet_classes.items()}
33
 
34
  # Load the pre-trained ResNet model
35
+ model = models.resnet18(pretrained=True)
36
 
37
  # Modify the classifier for 6 classes with an additional hidden layer
38
  # model.fc = nn.Sequential(