# Train the model (~30h on a GTX1080)
if [[ ! -f "${DYNCNN_RESULT_DIR}"/epoch_01000_model ]]; then
- ./dyncnn.lua --heavy --dataDir="${DYNCNN_DATA_DIR}" \
- --resultFreq=100 \
+ ./dyncnn.lua --heavy --dataDir "${DYNCNN_DATA_DIR}" \
+ --resultFreq 100 \
--resultDir "${DYNCNN_RESULT_DIR}" \
--nbEpochs 1000
fi
# Create the images of internal activations
for n in 2 12; do
- ./dyncnn.lua --heavy --dataDir=./data/10p-mg/ \
- --learningStateFile="${DYNCNN_RESULT_DIR}"/epoch_01000_model \
- --resultDir="${DYNCNN_RESULT_DIR}" \
+ ./dyncnn.lua --heavy --dataDir ./data/10p-mg/ \
+ --learningStateFile "${DYNCNN_RESULT_DIR}"/epoch_01000_model \
+ --resultDir "${DYNCNN_RESULT_DIR}" \
--noLog \
- --exampleInternals=${n}
+ --exampleInternals ${n}
done
######################################################################