Sin2pi commited on
Commit
087feb8
·
verified ·
1 Parent(s): 3a0b274

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +3 -3
model.py CHANGED
@@ -1517,10 +1517,10 @@ def main():
1517
  text_dims=512,
1518
  text_idx=4,
1519
  act="swish",
1520
- debug={},
1521
  cross_attn=True,
1522
  f0_rotary=True,
1523
- features = ["spectrogram"],
1524
  )
1525
 
1526
  sanity_check = False
@@ -1532,7 +1532,7 @@ def main():
1532
  "waveforms": False,
1533
  "pitch": False,
1534
  "downsamples": False,
1535
- "f0": True,
1536
  "hilbert": False,
1537
  "hop_length": 128,
1538
  "fmin": 150,
 
1517
  text_dims=512,
1518
  text_idx=4,
1519
  act="swish",
1520
+ debug={}, #{"encoder", "decoder", "residual", "rotary"}, debug prints for specific modules
1521
  cross_attn=True,
1522
  f0_rotary=True,
1523
+ features = ["spectrogram"], # ["spectrogram", "waveform", "pitch"] any combo and order matters
1524
  )
1525
 
1526
  sanity_check = False
 
1532
  "waveforms": False,
1533
  "pitch": False,
1534
  "downsamples": False,
1535
+ "f0": True, # this needs to be true along with f0_rotary to pass f0 to rotary - Pitch passess as a feature
1536
  "hilbert": False,
1537
  "hop_length": 128,
1538
  "fmin": 150,