Arikkod commited on
Commit
8818281
β€’
1 Parent(s): d25de62

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -4,7 +4,7 @@ import torch.nn as nn
4
 
5
  def create_effnetb2_model(num_classes:int=3, seed:int=3):
6
  weights = torchvision.models.EfficientNet_B2_Weights.DEFAULT
7
- transforms = effnetb2_weights.transforms()
8
  model = torchvision.models.efficientnet_b2(weights=weights)
9
 
10
  # Freeze the base layers in the model (this will stop all layers from training)
 
4
 
5
  def create_effnetb2_model(num_classes:int=3, seed:int=3):
6
  weights = torchvision.models.EfficientNet_B2_Weights.DEFAULT
7
+ transforms = weights.transforms()
8
  model = torchvision.models.efficientnet_b2(weights=weights)
9
 
10
  # Freeze the base layers in the model (this will stop all layers from training)