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

Create folders for outputs #15

Merged
merged 1 commit into from
Oct 2, 2022
Merged

Create folders for outputs #15

merged 1 commit into from
Oct 2, 2022

Conversation

chavinlo
Copy link
Contributor

@chavinlo chavinlo commented Oct 1, 2022

If the folders aren't there it will spit out an error saying that it was unable to find the path to save at

@Jack000 Jack000 merged commit 54a7e31 into Jack000:master Oct 2, 2022
@@ -213,6 +213,10 @@ def fetch(url_or_path):
if args.cpu:
model_config['use_fp16'] = False

# Create output folders
os.makedirs("output", exist_ok = True)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doesn't work if user passes --prefix

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

=> #20

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

Successfully merging this pull request may close these issues.

3 participants