Skip to content

runtraining.sh

Chris Churas edited this page Feb 28, 2018 · 11 revisions

This script runs CDeep3M training to generated what is known as a trained model.

This script is actually a wrapper that invokes CreateTrainJob.m and run_all_train.sh

Usage:

runtraining.sh 
usage: runtraining.sh [-h] [--1fmonly] [--numiterations NUMITERATIONS]
                      augtrainimages trainoutdir

              Version: 0.13.0

              Trains CDeep3M model using caffe with training data
              passed into script. 
    
positional arguments:
  augtrainimages       Augmented training data from PreprocessTrainingData.m
  trainoutdir          Desired output directory

optional arguments:
  -h, --help           show this help message and exit
  --1fmonly            Only train 1fm model
  --numiterations      Number of training iterations to run (default 2000)

This script will create a new directory, denoted as trainoutdir in usage above, which will be structured as follows:

**Tree view of directory showing only base files and directories

├── 1fm
│   ├── log
│   ├── trainedmodel
├── 3fm
│   ├── log
│   ├── trainedmodel
├── 5fm
│   ├── log
│   ├── trainedmodel
├── caffe_train.sh
├── readme.txt
├── run_all_train.sh
└── train_file.txt
Clone this wiki locally