build & push & run
sudo ./setup-docker.sh
directory structure
/home/
/code/
/data/
code/
cli.py : executable check_dataloading, training, evaluating script
config.py: default configs
ckpt.py: checkpoint saving & loading
train.py : training python configuration file
evaluate.py : evaluating python configuration file
infer.py : make submission from checkpoint
logger.py: tensorboard and commandline logger for scalars
utils.py : other helper modules
dataloader/ : module provides data loaders and various transformers
load_dataset.py: dataloader for classification
vision.py: image loading helper
loss/
metric/ : accuracy and loss logging
optimizer/
...
data/
utils.prepare_batch: move to GPU and build target
ckpt.get_model_ckpt: load ckpt and substitue model weight and args
load_dataset.get_iterator: load data iterator {'train': , 'val': , 'test': }
cd code
python3 cli.py check_dataloader
cd code
python3 cli.py train
To contact me, send an email to [email protected]