I had to download new version of pytorch because of the Slurm server’s limitation.
Then I planed to use dassl to train a model, but got warning “UserWarning: The verbose parameter is deprecated” and it seems that the config VERBOSE have been deprecated in recent versions of Pytorch.
I’m a rookie of coding in Machine Learning so I have to send this topic for help.
I’d be appreciated for your answers!!!
I’m not familiar with dassl
but could you check which line of code raises this warning?
torch/optim/lr_scheduler.py:62: UserWarning: The verbose parameter is deprecated. Please use get_last_lr() to access the learning rate.
Thank you!
It seems the verbose
argument is directly passed to all learning rate schedulers as seen e.g. here. I don’t know if dassl
is still maintained, but you could create an issue in their GitHub repo or submit a fix.