SpaceNetChallenge / utilities

Packages intended to assist in the preprocessing of SpaceNet satellite imagery data corpus to a format that is consumable by machine learning algorithms.
Other
248 stars 97 forks source link

createDataSpaceNet.py appends extra sub folder... #72

Open robLantz opened 6 years ago

robLantz commented 6 years ago

Running this: python ./utilities/python/createDataSpaceNet.py AOI_2_Vegas_Train --srcImageryDirectory RGB-PanSharpen --annotationType DARKNET --outputFileType JPEG Returns this... fullpathImageDirectory = AOI_2_Vegas_Train/AOI_2_Vegas_Train/RGB-PanSharpen

I found this on line 275-276 of the createDataSpaceNet.py script: for aoiSubDir in listOfAOIs: fullPathSubDir = os.path.join(srcSpaceNetDirectory, aoiSubDir) Where listOfAOIs is defined on line 251 as: listOfAOIs = [srcSpaceNetDirectory]

This appears to be a mistake in the code, but maybe I'm doing something wrong in the command line call?