updated .gitignore
This commit is contained in:
parent
26aa9e4b84
commit
a48249554c
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -243,3 +243,7 @@ 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