Neet
1
Hi,
I was running this train.py but this error is coming up
usage: train.py
[-h]
[-c CONFIG]
[–print_config[=flags]]
{fit,validate,test,predict,tune}
…
train.py: 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
Hey
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 train.py fit
And then you provide additional parameters as needed
python train.py fit --trainer.max_epochs=2
etc.
Hope this helps.
If you need more help, can you post the yaml file here and the full command you run?