-
Notifications
You must be signed in to change notification settings - Fork 196
Quickstart ~ Reproduce Result
The guide below is intended to reproduce the result in the paper as easy as possible.
-
Set the
CUDA_VISIBLE_DEVICES
environment variable firstexport CUDA_VISIBLE_DEVICES=0
-
Then, simply execute the following command to run the training
make reproduce DATASET=<dataset>
It will train all of the models for the specified <dataset> with default parameter
-
Check the available datasets in
datasets/
directory -
All of the models used are listed in
scripts/config/model/train.yaml
Feel free to add or comment as you see fit -
To use different hyperparameter, create a new file in
scripts/config/hyperparameter/
Then specify it in the command like thismake reproduce DATASET=<dataset> HYPERPARAMETER=<hyperparameter_filename_without_the_extension>
-
There are 2 more parameters that can be specified in the command:
- EARLY_STOP
- BATCH_SIZE
Use the following command to utilize it
make reproduce DATASET=<dataset> EARLY_STOP=<early_stop> BATCH_SIZE=<batch_size>
-
There are also a grouping command of specific task for easy access like
make reproduce_all_1 make reproduce_all_2 etc
© 2020