Spaces:
Sleeping
Sleeping
Akyl
commited on
Commit
·
bdc9445
1
Parent(s):
5a1a242
fix issue 3
Browse files
09_pretrained_effnetb2_feature_extractor_pizza_steak_sushi_20_percent.pth
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49f172e8691ca003797f29f904dccfee4dd0d1aa99382313c75915a1fffa7a3b
|
3 |
+
size 31273033
|
model.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import torchvision
|
2 |
import torch
|
3 |
import torch.nn as nn
|
4 |
-
def create_effnetb2_model(num_classes=3, seed=42):
|
5 |
# 1, 2, 3. Create EffNetB2 pretrained weights, transforms and model
|
6 |
weights = torchvision.models.EfficientNet_B2_Weights.DEFAULT
|
7 |
transforms = weights.transforms()
|
|
|
1 |
import torchvision
|
2 |
import torch
|
3 |
import torch.nn as nn
|
4 |
+
def create_effnetb2_model(num_classes: int=3, seed: int=42):
|
5 |
# 1, 2, 3. Create EffNetB2 pretrained weights, transforms and model
|
6 |
weights = torchvision.models.EfficientNet_B2_Weights.DEFAULT
|
7 |
transforms = weights.transforms()
|