Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Speaker
sidekit
Commits
e5dff725
Commit
e5dff725
authored
May 04, 2022
by
Colleen Beaumard
Browse files
Modification for trainings and log file name
parent
219a82e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
egs/iemocap/config/custom/Iemocap.yaml
View file @
e5dff725
...
...
@@ -9,7 +9,7 @@ dataset_csv: list/iemocap_ses3-test.csv
sample_rate
:
16000
validation_ratio
:
0.02
batch_size
:
4
batch_size
:
100
# Training set
train
:
...
...
@@ -18,7 +18,7 @@ train:
overlap
:
3.
sampler
:
examples_per_speaker
:
1
examples_per_speaker
:
25
samples_per_speaker
:
100
augmentation_replica
:
1
...
...
egs/iemocap/config/custom/modification_yaml.py
View file @
e5dff725
...
...
@@ -21,7 +21,7 @@ session_test = args.session_test
lr
=
args
.
lr
tmp
=
"model_custom/tmp_custom_{}emo_{}batch_lr-{}_Test-IEMOCAP{}.pt"
.
format
(
nb_cate
,
batch
,
lr
,
session_test
)
best
=
"model_custom/best_custom_{}emo_{}batch_lr-{}_Test-IEMOCAP{}.pt"
.
format
(
nb_cate
,
batch
,
lr
,
session_test
)
log
=
"logs/
half_resnet34
_{}emo_{}batch_lr-{}_Test-IEMOCAP{}.log"
.
format
(
nb_cate
,
batch
,
lr
,
session_test
)
log
=
"logs/
custom
_{}emo_{}batch_lr-{}_Test-IEMOCAP{}.log"
.
format
(
nb_cate
,
batch
,
lr
,
session_test
)
## Modification of variables in YAML files
# model.yaml
...
...
egs/iemocap/config/custom/training.yaml
View file @
e5dff725
# Training description
# General options
log_file
:
logs/half_resnet34_4emo_
4
batch_lr-0.0001_Test-IEMOCAP3.log
log_file
:
logs/half_resnet34_4emo_
100
batch_lr-0.0001_Test-IEMOCAP3.log
torch_seed
:
42
numpy_seed
:
42
random_seed
:
42
...
...
@@ -35,6 +35,6 @@ log_interval: 50
validation_frequency
:
1
# Save options
tmp_model_name
:
model_custom/tmp_custom_4emo_
4
batch_lr-0.0001_Test-IEMOCAP3.pt
best_model_name
:
model_custom/best_custom_4emo_
4
batch_lr-0.0001_Test-IEMOCAP3.pt
tmp_model_name
:
model_custom/tmp_custom_4emo_
100
batch_lr-0.0001_Test-IEMOCAP3.pt
best_model_name
:
model_custom/best_custom_4emo_
100
batch_lr-0.0001_Test-IEMOCAP3.pt
checkpoint_frequency
:
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment