You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, using Jupyter lab, I was successful converting in a batch manner with the code below. All the wav files in the input_dir are converted to 5-second spectrograms.
(reference: https://github.com/thx-pw/riffusion-music2music-colab)
with os.scandir(input_dir) as dirs:
for entry in dirs:
!python file2img.py --input "./content/input/wav_clip/{entry.name}" --output {output} --nmels 512 --maxvol 255 --powerforimage 0.35
Rendering each file in a directory would make it easier for those with potato video cards.
The text was updated successfully, but these errors were encountered: