tata1661 / FSL-Mate

FSL-Mate: A collection of resources for few-shot learning (FSL).
1.72k stars 289 forks source link

maml_image_classification训练报错:module 'paddlefsl.utils' has no attribute 'gradient_descent' #46

Closed lish369sysu closed 6 months ago

lish369sysu commented 7 months ago

maml_image_classification训练报错:module 'paddlefsl.utils' has no attribute 'gradient_descent' maml.py文件第61行utils.gradient_descent(model, inner_lr, loss_fn, approximate) paddlefsl.utils目录下并没有gradient_descent.py 将gradient_descent改为manual_gradient_descent同样不可行

tata1661 commented 6 months ago

now the problem is fixed.