apolat2018 / LSAT

Landslide Susceptibility Assesment Tool
MIT License
19 stars 6 forks source link

error in preparing data #10

Open melt12 opened 6 months ago

melt12 commented 6 months ago

hi can you help me fix this issue :

Traceback (most recent call last): File "C:\Users\This PC\Videos\LSAT\Preparing_Data.py", line 97, in arcpy.SubsetFeatures_ga("erased_poi.shp","data_trn.shp","",no_ls_trn,"ABSOLUTE_VALUE")###random no landslide pixels is selecting as many as train landslide pixels File "c:\program files (x86)\arcgis\desktop10.8\arcpy\arcpy\ga.py", line 1286, in SubsetFeatures raise e ExecuteError: ERROR 040303: The input features, the output training feature class, or the output test feature class have no records. Failed to execute (SubsetFeatures).

Failed to execute (prepare).