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

allow models to be in a separate folder via models_dir argument #129

Merged
merged 3 commits into from
May 16, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
default value for models_dir to be same as before
  • Loading branch information
memo committed May 8, 2019
commit 818dcb48d8575f1ac66ca527ccb4f7e5490fa43d
2 changes: 1 addition & 1 deletion src/generate_unconditional_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def sample_model(
length=None,
temperature=1,
top_k=0,
models_dir='../models',
models_dir='models',
):
"""
Run the sample_model
Expand Down
2 changes: 1 addition & 1 deletion src/interactive_conditional_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def interact_model(
length=None,
temperature=1,
top_k=0,
models_dir='../models',
models_dir='models',
):
"""
Interactively run the model
Expand Down