Spaces:
Sleeping
Sleeping
Update model.py
Browse files
model.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import torch
|
2 |
import torchvision
|
3 |
-
|
4 |
|
5 |
def create_effnetb2_model(num_classes:int=3, seed:int=3):
|
6 |
weights = torchvision.models.EfficientNet_B2_Weights.DEFAULT
|
|
|
1 |
import torch
|
2 |
import torchvision
|
3 |
+
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
|