Pytorch Lightning cli

I was running this but this error is coming up

{fit,validate,test,predict,tune} error: ‘Configuration check failed :: No action for destination key “trainer.weights_save_path” to check its value.’

I gave the path to weight_save_path in .yaml file but not solved.

need your help to fix this


When you run with the Lightning CLI, you need to provide an “action”, which is one of fit, test, validate, predict. It looks like this:

python fit

And then you provide additional parameters as needed

python fit --trainer.max_epochs=2


Hope this helps.

If you need more help, can you post the yaml file here and the full command you run?