Audio-WestlakeU / NBSS

The official repo of NBC & SpatialNet for multichannel speech separation, denoising, and dereverberation
MIT License
232 stars 26 forks source link

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

Open Khubaib96 opened 1 year ago

Khubaib96 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

I did. But then it starts giving more errors. But I can give it a try. I'll let you know.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Changsheng Quan @.> Sent: Saturday, June 17, 2023 2:07:38 PM To: Audio-WestlakeU/NBSS @.> Cc: Khubaib Ahmad @.>; Author @.> Subject: Re: [Audio-WestlakeU/NBSS] NBSSCLI.py: error: 'Configuration check failed :: No action for destination key "trainer.num_processes" to check its value.' (Issue #14)

Sorry for the late reply.

You can just remove the trainer.num_processes in the configuration file.

— Reply to this email directly, view it on GitHubhttps://github.com/Audio-WestlakeU/NBSS/issues/14#issuecomment-1595681417, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFNHJ4ZOQCYBUDUQGA6RYNLXLVXVVANCNFSM6AAAAAAZIH5NNE. You are receiving this because you authored the thread.Message ID: @.***>

quancs commented 1 year ago

OK.