Closed banana16314 closed 2 years ago
你好,我在运行python mae_pretrain.py的时候遇到了这个问题: Files already downloaded and verified Files already downloaded and verified Traceback (most recent call last): File "mae_pretrain.py", line 44, in lr_scheduler = torch.optim.lr_scheduler.LambdaLR(optim, lr_lambda=lr_func, verbose=True) TypeError: init() got an unexpected keyword argument 'verbose' 请问这个应该怎么处理呢?
可能你的torch版本太老了?我用的是1.9.1版本。
谢谢了!我去试试。
你好,我在运行python mae_pretrain.py的时候遇到了这个问题: Files already downloaded and verified Files already downloaded and verified Traceback (most recent call last): File "mae_pretrain.py", line 44, in
lr_scheduler = torch.optim.lr_scheduler.LambdaLR(optim, lr_lambda=lr_func, verbose=True)
TypeError: init() got an unexpected keyword argument 'verbose'
请问这个应该怎么处理呢?