Skip to content
This repository has been archived by the owner on Jul 2, 2019. It is now read-only.

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

Open
robLantz opened this issue Nov 20, 2017 · 0 comments
Open

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

robLantz opened this issue Nov 20, 2017 · 0 comments

Comments

@robLantz
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant