drkareemkamal commited on
Commit
b25aa95
·
1 Parent(s): 13f3d4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -123,7 +123,7 @@ effnetb2_model , effnet_b2_transforms = create_effnetb2_model(num_classes = 101
123
  # Load save weights
124
  effnetb2_model.load_state_dict(
125
  torch.load(
126
- f='11_pretrained_effnet_feature_extractor_food101.pth',
127
  map_location = torch.device('cpu') # Load the model on CPU
128
  )
129
  )
@@ -149,7 +149,7 @@ def predict(img) -> Tuple[Dict,float] :
149
  ### 4. Gradio app - our Gradio interface + launch command
150
 
151
  title = 'FoodVision Big'
152
- description = 'An EfficientNetB2 Feature extractor computer vision model to classifiy 101 Food images '
153
  article = 'created at PyTorch Model Deployment'
154
 
155
  # Create example list
 
123
  # Load save weights
124
  effnetb2_model.load_state_dict(
125
  torch.load(
126
+ f='11_pretrained_effnet_feature_extractor_food101_fine_tune.pth',
127
  map_location = torch.device('cpu') # Load the model on CPU
128
  )
129
  )
 
149
  ### 4. Gradio app - our Gradio interface + launch command
150
 
151
  title = 'FoodVision Big'
152
+ description = 'An FineTune last 4 Sequential layers of EfficientNetB2 model to classifiy 101 Food images '
153
  article = 'created at PyTorch Model Deployment'
154
 
155
  # Create example list