update config parameters
This commit is contained in:
1 parent
61b9b32b9b
commit
419105ff2e
2 files changed
+6
-6
No files matched your search
+5
-5
@@ -1,16 +1,16 @@
|
|||||||
num_of_gpus: -1
|
num_of_gpus: -1
|
||||||
|
|
||||||
hparams:
|
hparams:
|
||||||
max_epochs: 30
|
max_epochs: 20
|
||||||
batch_size: 64
|
batch_size: 64
|
||||||
lr: 0.001
|
lr: 0.001
|
||||||
accumulate_grad_batches: 1
|
accumulate_grad_batches: 1
|
||||||
gradient_clip_val: 0.5
|
gradient_clip_val: 0.5
|
||||||
lin1_size: 128
|
lin1_size: 256
|
||||||
lin2_size: 256
|
lin2_size: 256
|
||||||
lin3_size: 128
|
lin3_size: 128
|
||||||
output_size: 38
|
output_size: 10
|
||||||
weight_decay: 0.00001
|
weight_decay: 0.000001
|
||||||
split_ratio: 0.9
|
split_ratio: 0.9
|
||||||
|
|
||||||
resume:
|
resume:
|
||||||
@@ -39,6 +39,6 @@ callbacks:
|
|||||||
mode: "max"
|
mode: "max"
|
||||||
|
|
||||||
printing:
|
printing:
|
||||||
progress_bar_refresh_rate: 10
|
progress_bar_refresh_rate: 5
|
||||||
weights_summary: "top" # or "full"
|
weights_summary: "top" # or "full"
|
||||||
profiler: False
|
profiler: False
|
||||||
@@ -86,7 +86,7 @@ class MNISTDataModule(pl.LightningDataModule):
|
|||||||
return DataLoader(self.data_test, batch_size=self.batch_size)
|
return DataLoader(self.data_test, batch_size=self.batch_size)
|
||||||
|
|
||||||
|
|
||||||
class Cifar10DataModule(pl.LightningDataModule):
|
class CIFAR10DataModule(pl.LightningDataModule):
|
||||||
def __init__(self, data_dir="data/cifar10", batch_size=64, split_ratio=0.90):
|
def __init__(self, data_dir="data/cifar10", batch_size=64, split_ratio=0.90):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user