kaiku03 commited on
Commit
facffc1
·
verified ·
1 Parent(s): d9148b1

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -1,7 +1,7 @@
1
  import torchvision
2
  from torch import nn
3
 
4
- def create_effnetb1(num_classes:int=5, seed:int=42):
5
  # 1. Get the base mdoel with pretrained weights and send to target device
6
  weights = torchvision.models.EfficientNet_B1_Weights.DEFAULT
7
  transforms = weights.transforms()
 
1
  import torchvision
2
  from torch import nn
3
 
4
+ def create_effnet_b1(num_classes:int=5, seed:int=42):
5
  # 1. Get the base mdoel with pretrained weights and send to target device
6
  weights = torchvision.models.EfficientNet_B1_Weights.DEFAULT
7
  transforms = weights.transforms()