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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError("__init__() got an unexpected keyword argument 'num_processes'") #694

Open
cod3r0k opened this issue Jul 19, 2023 · 3 comments
Open
Labels

Comments

@cod3r0k
Copy link

cod3r0k commented Jul 19, 2023

When I want to run it with default python train.py +configs=commonvoice , it occurs an error:

deepspeech.pytorch/venv/lib/python3.8/site-packages/hydra/_internal/hydra.py:119: UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See https://hydra.cc/docs/1.2/upgrades/1.1_to_1.2/changes_to_job_working_dir/ for more information.
  ret = run_job(
Global seed set to 123456
Error executing job with overrides: ['+configs=commonvoice']
Error in call to target 'pytorch_lightning.trainer.trainer.Trainer':
TypeError("__init__() got an unexpected keyword argument 'num_processes'")
full_key: trainer
@DembJules
Copy link

Hello! If you have installed the latest version of pytorch lightning you can check the documentation of it and there is no keyword "num_processes" available in the latest docs. You can either remove the line or go back to the version that has it.

@novenn
Copy link

novenn commented Aug 1, 2023

reinstall pytorch_lightning==1.7.7

@stale
Copy link

stale bot commented Sep 17, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants