DLC on Crane
#
Get started- Run an interactive job on SLURM. For example:
- Export your
$HOME
as your$WORK
environment to aovid errors while installing packages, etc.
#
Load/Build DLC Environment- Load required Anaconda and Cuda (for GPU use) into your session.
- Create a DeepLabCut-GPU environment from a
.yaml
file, installtensorflow-gpu
, then start an IPython session.
- Install
DeepLabCutCore
, import tensorflow, then import DLC in light mode.
#
Train Your Neural Network- Specify the path of your project's configuration file,
config.yaml
. Then, create your training dataset.
- If the file
resnet_v1_50.ckpt
fail to load, try installing it again from source.
- Train your network (a minimum of ~200,000 iteration is recommended). If you want to save snapshots of your dataset, adjust
saveiters=''
. When you are satisifed with the number of iterations your neural network reached, you can stop itCTRL+C
.
#
Evaluate Network and Label Video- Evaluate you neural network, then analyze and label your video.