updated .gitignore
This commit is contained in:
parent
26aa9e4b84
commit
a48249554c
6
.gitignore
vendored
6
.gitignore
vendored
|
@ -242,4 +242,8 @@ paket-files/
|
||||||
|
|
||||||
# JetBrains Rider
|
# JetBrains Rider
|
||||||
.idea/
|
.idea/
|
||||||
*.sln.iml
|
*.sln.iml
|
||||||
|
|
||||||
|
# Custom
|
||||||
|
media/
|
||||||
|
logs/
|
|
@ -29,6 +29,16 @@ Fs = 16000
|
||||||
DATA_DIR = r"D:\ML_Datasets\violin"
|
DATA_DIR = r"D:\ML_Datasets\violin"
|
||||||
INSTRUMENT = "violin"
|
INSTRUMENT = "violin"
|
||||||
|
|
||||||
|
print("Creating necessary directories")
|
||||||
|
|
||||||
|
paths = ["logs/train",
|
||||||
|
f"models/{INSTRUMENT}/js",
|
||||||
|
f"output/{INSTRUMENT}",]
|
||||||
|
|
||||||
|
for path in paths:
|
||||||
|
if not os.path.exists(os.path.join(os.getcwd(), path)):
|
||||||
|
os.makedirs(path)
|
||||||
|
|
||||||
# Define class that contains GAN infrastructure
|
# Define class that contains GAN infrastructure
|
||||||
class GAN:
|
class GAN:
|
||||||
def __init__(self, model_dims=MODEL_DIMS, num_samples=NUM_SAMPLES,
|
def __init__(self, model_dims=MODEL_DIMS, num_samples=NUM_SAMPLES,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user