more generic classification pipeline
- Download dataset
download-gdrive 1eAk36MEMjKPKL5j9VWLvNTVKk4ube9Ml artworks.tar.gz
extract-archive artworks.tar.gz &>/dev/null
- Create DataFrame:
catalyst-data tag2label \
--in-dir=./data/dataset \
--out-dataset=./data/dataset.csv \
--out-labeling=./data/labeling.json \
--tag-column=class
- Prepare train / val splits
python3 utils/prepare_splits.py \
--df=./data/dataset.csv \
--labeling=./data/labeling.json \
--out-path=./data/
CUDA_VISIBLE_DEVICES="<YOUR_DEVICES>" catalyst-dl run --configs training/configs/train_config.yml
- Tensorboard training logs are available at
<logdir>/train_log
- Tensorboard validation logs are available at
<logdir>/valid_log
- Weights for final model (which are the best, according to
<main metric>
on validation) are available at<logdir>/checkpoints/best.pth