summaryrefslogtreecommitdiff
path: root/src/training/experiments/embedding_experiment.yml
diff options
context:
space:
mode:
authoraktersnurra <gustaf.rydholm@gmail.com>2020-10-22 22:45:58 +0200
committeraktersnurra <gustaf.rydholm@gmail.com>2020-10-22 22:45:58 +0200
commit4d7713746eb936832e84852e90292936b933e87d (patch)
tree2b2519d1d2ce53d4e1390590f52018d55dadbc7c /src/training/experiments/embedding_experiment.yml
parent1b3b8073a19f939d18a0bb85247eb0d99284f7cc (diff)
Transfomer added, many other changes.
Diffstat (limited to 'src/training/experiments/embedding_experiment.yml')
-rw-r--r--src/training/experiments/embedding_experiment.yml22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/training/experiments/embedding_experiment.yml b/src/training/experiments/embedding_experiment.yml
index e674c26..1e5f941 100644
--- a/src/training/experiments/embedding_experiment.yml
+++ b/src/training/experiments/embedding_experiment.yml
@@ -1,8 +1,10 @@
experiment_group: Embedding Experiments
experiments:
- train_args:
- batch_size: 256
- max_epochs: &max_epochs 8
+ transformer_model: false
+ batch_size: &batch_size 256
+ max_epochs: &max_epochs 32
+ input_shape: [[1, 28, 28]]
dataset:
type: EmnistDataset
args:
@@ -14,17 +16,21 @@ experiments:
train_args:
num_workers: 8
train_fraction: 0.85
+ batch_size: *batch_size
model: CharacterModel
metrics: []
network:
- type: ResidualNetwork
+ type: DenseNet
args:
+ growth_rate: 4
+ block_config: [4, 4]
in_channels: 1
- num_classes: 64 # Embedding
- depths: [2,2]
- block_sizes: [32, 64]
- activation: selu
- stn: false
+ base_channels: 24
+ num_classes: 128
+ bn_size: 4
+ dropout_rate: 0.1
+ classifier: true
+ activation: elu
criterion:
type: EmbeddingLoss
args: