Spaces:
Sleeping
Sleeping
Update model.py
Browse files
model.py
CHANGED
@@ -3,7 +3,7 @@ import torch.nn as nn
|
|
3 |
from huggingface_hub import hf_hub_download
|
4 |
|
5 |
class SimpleCNN(nn.Module):
|
6 |
-
def __init__(self, model_type='f', num_classes=
|
7 |
super(SimpleCNN, self).__init__()
|
8 |
self.num_classes = num_classes
|
9 |
self.model_type = model_type
|
|
|
3 |
from huggingface_hub import hf_hub_download
|
4 |
|
5 |
class SimpleCNN(nn.Module):
|
6 |
+
def __init__(self, model_type='f', num_classes=6):
|
7 |
super(SimpleCNN, self).__init__()
|
8 |
self.num_classes = num_classes
|
9 |
self.model_type = model_type
|