Error when exporting model #282
Replies: 2 comments 4 replies
-
Remove the --stereo flag when exporting the model. The V3 architecture doesn't support it. |
Beta Was this translation helpful? Give feedback.
-
I am having a similar issue. I think in my case it may be that I trained on stereo files. I set the architecture to v2 and the number of channels to 2 (and removed the --stereo flag).. Does rave not support stereo? I'm using the hexorcismos CoLab notebook: https://colab.research.google.com/drive/1ih-gv1iHEZNuGhHPvCHrleLNXvooQMvI?usp=sharing INFO:root:library loading |
Beta Was this translation helpful? Give feedback.
-
Hi there
I am training my model on Colab, I think the training all went okay but I have this after I ran the last cell. I think my RAVE is up to date? can anyone help with this? thank you so much.
I am using Colab template here:
https://github.com/devstermarts/Notebooks/blob/main/RAVE_Training_Template--Colab.ipynb?short_path=d168939
error message:
INFO:root:library loading
INFO:root:DEBUG
INFO:torch.distributed.nn.jit.instantiator:Created a temporary directory at /tmp/tmpagfj7kc8
INFO:torch.distributed.nn.jit.instantiator:Writing /tmp/tmpagfj7kc8/_remote_module_non_scriptable.py
I0122 10:47:15.689762 137650626262848 export.py:338] building rave
/content/miniconda/lib/python3.9/site-packages/torchaudio/transforms/_transforms.py:92: UserWarning:
return_complex
argument is now deprecated and is not effective.torchaudio.transforms.Spectrogram(power=None)
always returns a tensor with complex dtype. Please remove the argument in the function call.warnings.warn(
I0122 10:47:19.099579 137650626262848 export.py:372] warmup pass
I0122 10:47:19.344898 137650626262848 export.py:377] optimize model
I0122 10:47:19.616676 137650626262848 export.py:382] script model
Traceback (most recent call last):
File "/content/miniconda/bin/rave", line 8, in
sys.exit(main())
File "/content/miniconda/lib/python3.9/site-packages/scripts/main_cli.py", line 34, in main
app.run(export.main)
File "/content/miniconda/lib/python3.9/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/content/miniconda/lib/python3.9/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "/content/miniconda/lib/python3.9/site-packages/scripts/export.py", line 384, in main
scripted_rave = script_class(
File "/content/miniconda/lib/python3.9/site-packages/scripts/export.py", line 85, in init
raise ValueError("Stereo mode not yet supported with AdaIN")
ValueError: Stereo mode not yet supported with AdaIN
Beta Was this translation helpful? Give feedback.
All reactions