Update tf import in a few pose_estimation_tensorflow/nnet files
Update import of tf_slim in a few pose_estimation_tensorflow/nnet files-- in tf2, tf_slim is now a separate package (I think this only applies to mobilenets?)
Update tf_to_pb function in export_model -- in tf1, we use tensorflow's freeze_graph function, but this is throwing an error in tf2 (see tensorflow/tensorflow#24591). Instead, in tf2, we now export the model using convert_variables_to_constants.
Note :: the same tensorflow version must be used to export the model from DeepLabCut as is used to import the model in DeepLabCut-live!
Note :: the same tensorflow version must be used to export the model from DeepLabCut as is used to import the model in DeepLabCut-live!