Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in running asteroid\egs\musdb18\X-UMX\train.py #572

Open
felixCheungcheung opened this issue Nov 7, 2021 · 1 comment
Open

Error in running asteroid\egs\musdb18\X-UMX\train.py #572

felixCheungcheung opened this issue Nov 7, 2021 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@felixCheungcheung
Copy link

馃悰 Bug

Due to the fact that the 1.5.0 version of pytorch-lightning removed the distributed backend, some erorrs occured when running asteroid\egs\musdb18\X-UMX\train.py

To Reproduce

cd asteroid\egs\musdb18\X-UMX
python train.py

Expected behavior

Error message:

Traceback (most recent call last): File "train.py", line 500, in <module> main(arg_dic, plain_args) File "train.py", line 459, in main trainer = pl.Trainer( File "C:\Users\Huicheng Zhang\.conda\envs\xumx\lib\site-packages\pytorch_lightning\trainer\connectors\env_vars_connector.py", line 38, in insert_env_defaults return fn(self, **kwargs) TypeError: __init__() got an unexpected keyword argument 'distributed_backend'

Environment

Package versions

Run asteroid-versions and paste the output here:

Asteroid 0.5.1
PyTorch 1.10.0+cpu
PyTorch-Lightning 1.5.0

Additional info

After reinstalling pytorch-lightning to 1.4.9 the above problem will be solved. However it would be good to upgrade the code to PL 1.5.0

@felixCheungcheung felixCheungcheung added bug Something isn't working help wanted Extra attention is needed labels Nov 7, 2021
@JusperLee
Copy link

I think you should change the distributed_backend to strategy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants