Spaces:
Sleeping
Sleeping
update
Browse files
model.py
CHANGED
@@ -4,8 +4,8 @@ import torchvision
|
|
4 |
|
5 |
from torch import nn
|
6 |
|
7 |
-
create_effnetb2_model(num_classes: int
|
8 |
-
|
9 |
|
10 |
#weights, transforms and model instance
|
11 |
weights = torchvision.models.EfficientNet_B2_Weights.DEFAULT
|
|
|
4 |
|
5 |
from torch import nn
|
6 |
|
7 |
+
def create_effnetb2_model(num_classes: int,
|
8 |
+
seed: int =42):
|
9 |
|
10 |
#weights, transforms and model instance
|
11 |
weights = torchvision.models.EfficientNet_B2_Weights.DEFAULT
|