Hello,
I want to fine-tune a pre-trained model for land cover classification on aerial imagery from the ArcGIS Living Atlas library. I selected and exported training samples from the AOI and now want to train the pre-trained model on the new training data. However, when executing the "Train Deep Learning Model" tool, I always get the following error:
"Error:[Errno 2] No such file or directory: 'C:\\Users\\ppitz\\OneDrive\\Dokumente\\ArcGIS\\DeepLearning\\Test_Model\\tmp_pretrained_model\\LandCoverClassification_Aerial_Original.emd'.Training was not successful."
Does somebody know how I can fix this error? Thanks in advance for any help.
Solved! Go to Solution.
Found the solution. I renamed the file for the pre-trained model and this led to this error. Thanks regardless! Beginner mistake i guess^^
Hey @PatrikPitzer
Hmmm that is quite strange, from your last comment there, it is looking for the _Original but there is only the _Aerial.emd instead? If so, could you attempt to point it to the _Aerial.emd or possibly rename that one to add the _Original?
Cody
Hey @PatrikPitzer
I just had a similar issue actually, if possible, would it be possible to move the training data outside of OneDrive? Once I moved mine out of OneDrive it started recognizing the file!
Cody
Hey @CodyPatterson
Thank you for your answer. I tried it, but that didn't work. What I don't understand is that the file that the programm doesn't find, is created by the programm itself. The file is in the defined output folder Model_test: "Error:[Errno 2] No such file or directory: 'C:\\Users\\ppitz\\Documents\\Model_test\\tmp_pretrained_model\\LandCoverClassification_Aerial_Original.emd'.Training was not successful."
Patrik
The directory of the file in the explorer is: "C:\Users\ppitz\Documents\Model_test\tmp_pretrained_model\LandCoverClassification_Aerial.emd" compared to the directory that cannot be found:
'C:\\Users\\ppitz\\Documents\\Model_test\\tmp_pretrained_model\\LandCoverClassification_Aerial_Original.emd'.
Found the solution. I renamed the file for the pre-trained model and this led to this error. Thanks regardless! Beginner mistake i guess^^
Hey @PatrikPitzer
Hmmm that is quite strange, from your last comment there, it is looking for the _Original but there is only the _Aerial.emd instead? If so, could you attempt to point it to the _Aerial.emd or possibly rename that one to add the _Original?
Cody