File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 21
21
22
22
23
23
ARCHITECTURES_PATH = "/kaggle/input/second-dataset/dataset"
24
- MAX_EPOCHS = 70
24
+ MAX_EPOCHS = 60
25
25
LEARNING_RATE = 0.025
26
26
BATCH_SIZE = 96
27
27
NUM_MODLES = 2000
@@ -78,7 +78,7 @@ def get_data_loaders(batch_size=512):
78
78
)
79
79
num_samples = len (train_data )
80
80
indices = np .random .permutation (num_samples )
81
- split = int (num_samples * 0.5 )
81
+ split = int (num_samples * 0.75 )
82
82
83
83
search_train_loader = DataLoader (
84
84
train_data ,
@@ -106,7 +106,7 @@ def train_model(
106
106
fast_dev_run = False
107
107
):
108
108
with model_context (architecture ):
109
- model = DartsSpace (width = 16 , num_cells = 3 , dataset = 'cifar' )
109
+ model = DartsSpace (width = 16 , num_cells = 10 , dataset = 'cifar' )
110
110
111
111
device = torch .device ("cuda:0" if torch .cuda .is_available () else "cpu" )
112
112
#if torch.cuda.device_count() > 1:
You can’t perform that action at this time.
0 commit comments