adobe-research / DeepAFx-ST

DeepAFx-ST - Style transfer of audio effects with differentiable signal processing. Please see https://csteinmetz1.github.io/DeepAFx-ST/
Other
369 stars 47 forks source link

forward() got an unexpected keyword argument 'time_it' #28

Open MBlackPower opened 2 years ago

MBlackPower commented 2 years ago

if run process.py with option "--time", it crashed with "forward() got an unexpected keyword argument 'time_it'":

process.py -i examples/voice_raw.wav -r examples/voice_produced.wav --time -c checkpoints/style/libritts/tcn1/lightning_logs/version_1/checkpoints/epoch=367-step=1226911-val-libritts-tcn1.ckpt

Exception has occurred: TypeError (note: full exception trace is shown but execution is paused at: _run_module_as_main) forward() got an unexpected keyword argument 'time_it' File "C:\Users\xxx\anaconda3\envs\afx\Lib\site-packages\torch\nn\modules\module.py", line 1051, in _call_impl return forward_call(*input, **kwargs) File "D:\DeepAFx-ST-0.1.0\scripts\process.py", line 130, in y_hat, p, e, encoder_time_sec, dsp_time_sec = system( File "C:\Users\xxx\anaconda3\envs\afx\Lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\xxx\anaconda3\envs\afx\Lib\runpy.py", line 194, in _run_module_as_main (Current frame) return _run_code(code, main_globals, None,