tata1661 / FSL-Mate

FSL-Mate: A collection of resources for few-shot learning (FSL).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

lish369sysu opened this issue · comments

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同样不可行

now the problem is fixed.