When running DLC in Colab while having already created the training sets in a previous Colab session, the
train_network function does not download the resnet50 initial weights (no
resnet_v1_50.ckpt file in /usr/local/lib/python3.7/dist-packages/deeplabcut/pose_estimation_tensorflow/models/pretrained) and throws an error as it is trying to access the missing .ckpt file.
train_network in the same Colab session, there is no issue, as the .ckpt file is downloaded when
create_training_dataset is being executed.
I was under the impression that the
train_network function was supposed to download the initial Resnet50 (or else) network weights if they weren’t already present in the local deeplabcut/…/pretrained folder. Is that incorrect? Is the only way to have this working is to always run
train_network in the same Colab session?