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

NBSSCLI.py: error: 'Configuration check failed :: No action for destination key "trainer.num_processes" to check its value.' #14

Open
Khubaib96 opened this issue Jun 15, 2023 · 3 comments

Comments

@Khubaib96
Copy link

Hi,

I recently received a trained checkpoint (ckpt) file from my colleague and attempted to test and run it on my own device. To ensure consistency, I used the same configuration and ckpt files that my colleague successfully used on her device. However, when I tried to test the model on my device, I encountered the following error in the configuration:

NBSSCLI.py: error: 'Configuration check failed :: No action for destination key "trainer.num_processes" to check its value.'

I'm not sure what could be causing this issue and would appreciate any insights or guidance on how to fix it.

Thank you in advance for your assistance!

@quancs
Copy link
Member

quancs commented Jun 17, 2023

Sorry for the late reply.

This problem is caused by the version mismatch problem of pytorch-lightning package (they usually remove or add some parameters after updating the version). To fix this, you need to remove the trainer.num_processes in the configuration file config.yaml. The same to other parameters in the configuration file if they also cause an error.

@Khubaib96
Copy link
Author

Khubaib96 commented Jun 17, 2023 via email

@quancs
Copy link
Member

quancs commented Jun 17, 2023

OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants