I am trying to use deep learning algorithm and use arcpy scripts tot export the training samples and train my model-using this technique to land cover classification purpose. I am using following codes in my Jupyter notebook-

and getting following errors

Could anyone suggest me what this is saying to me? also i tried to use ArcGIS API for python library for this to export training samples but could not do that as well. I know this can be done using Pro but I wanted to use python for the whole project. Thank you!