-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ac1802
commit b040d93
Showing
10 changed files
with
70 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
# Main params | ||
audio_generation_count = 2 # Audio examples to generate | ||
class UsageParams: | ||
def __init__(self): | ||
self.audio_generation_count = 2 # Audio examples to generate | ||
|
||
# Training params | ||
training_sample_length = 1.5 # seconds | ||
outputs_dir = "outputs" # Where to save your generated audio & model | ||
# Training params | ||
self.training_sample_length = 1.5 # seconds | ||
self.outputs_dir = "outputs" # Where to save your generated audio & model | ||
|
||
model_save_name = "StereoSampleGAN-InstrumentOneShot" # What to name your model save | ||
training_audio_dir = "data/one_shots" # Your training data path | ||
compiled_data_path = "data/compiled_data.npy" # Your compiled data/output path | ||
model_save_path = f"{outputs_dir}/{model_save_name}.pth" | ||
self.model_save_name = ( | ||
"StereoSampleGAN-InstrumentOneShot" # What to name your model save | ||
) | ||
self.training_audio_dir = "data/one_shots" # Your training data path | ||
self.compiled_data_path = ( | ||
"data/compiled_data.npy" # Your compiled data/output path | ||
) | ||
self.model_save_path = f"{self.outputs_dir}/{self.model_save_name}.pth" | ||
|
||
# Generating audio | ||
model_to_generate_with = model_save_path # Generation model path | ||
generated_audio_name = "generated_audio" # Output file name | ||
visualize_generated = True # Show generated audio spectrograms | ||
# Generating audio | ||
self.model_to_generate_with = self.model_save_path # Generation model path | ||
self.generated_audio_name = "generated_audio" # Output file name | ||
self.visualize_generated = True # Show generated audio spectrograms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters