code-generator icon indicating copy to clipboard operation
code-generator copied to clipboard

Add comments for each parameter in config.yaml

Open vfdev-5 opened this issue 2 years ago • 2 comments

Right now we can see the following in the config.yaml:

seed: 777
data_path: ./
train_batch_size: 32
eval_batch_size: 32
num_workers: 4
max_epochs: 20
use_amp: false
debug: false
filename_prefix: training
n_saved: 2
save_every_iters: 1000
patience: 3
output_dir: ./logs
log_every_iters: 10
lr: 0.0001
model: resnet18

and it is unclear what each parameter is responsible for.

The idea is to add comments for each parameter like below

seed: 777  # random seed
data_path: ./  # input data path 
train_batch_size: 32
eval_batch_size: 32
num_workers: 4
max_epochs: 20
use_amp: false
debug: false
filename_prefix: training  # training checkpoint filename prefix
n_saved: 2  # number of saved checkpoints
save_every_iters: 1000  # training checkpoint frequency
patience: 3  # early stopping patience parameter
output_dir: ./logs  # output folder
log_every_iters: 10
lr: 0.0001
model: resnet18

vfdev-5 avatar Aug 19 '23 09:08 vfdev-5

@vfdev-5 @guptaaryan16 Will that be necessary to add comments for other yaml files from ci-configs like this?

puhuk avatar Sep 22 '23 07:09 puhuk

No @puhuk ci-configs are for testing templates in the CI as you don't need to add them here

guptaaryan16 avatar Sep 22 '23 07:09 guptaaryan16