Work on text parsing, testing

This commit is contained in:
Brandon Thomas
2022-06-30 17:47:27 -04:00
parent b20ac5ff89
commit 030d2c9381
12 changed files with 116 additions and 1 deletions
+1
View File
@@ -96,6 +96,7 @@ def preprocess_text(text, raw_input=True):
pass
pre_sequence += line
print(pre_sequence)
with torch.no_grad():
# save VRAM by not including gradients
sequence = np.array(text_to_sequence(pre_sequence, ['english_cleaners']))[None, :]