Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup folder for collection #10

Open
AlthafHussain19 opened this issue Apr 10, 2022 · 2 comments
Open

setup folder for collection #10

AlthafHussain19 opened this issue Apr 10, 2022 · 2 comments

Comments

@AlthafHussain19
Copy link

for me the folder isnt getting created but the code doesnt show any errors. i have tried two set of codes 1st one is nick.. his code doesnt show any errors i thnk it is bcos of try block second code is from pull request where it shows error
Screenshot (2)

@PseudoKush
Copy link

Try commenting out dirmax line and also remove dirmax from try block. It worked for me

@jgaspar10
Copy link

for action in actions: # This will loop through all the different gestures
for sequence in range(no_sequences):
try:
os.makedirs(os.path.join(DATA_PATH, action, str(sequence))) # This will create all necesary folders, subfolders and sequences
except:
pass

Try the above and it should work fine :)

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

No branches or pull requests

3 participants