'Parameter' object has no attribute 'gradient_clip_attr'
Created by: NULL-JC
Traceback (most recent call last): File "F:/学习资料/计算机/大二/下/人工智能/Text_Analysis/loadModule.py", line 70, in metrics_choices=["f1"]) File "E:\software\program\Python37\lib\site-packages\paddlehub\finetune\task\classifier_task.py", line 179, in init metrics_choices=metrics_choices) File "E:\software\program\Python37\lib\site-packages\paddlehub\finetune\task\classifier_task.py", line 49, in init metrics_choices=metrics_choices) File "E:\software\program\Python37\lib\site-packages\paddlehub\finetune\task\base_task.py", line 299, in init main_program, for_test=False) File "E:\software\program\Python37\lib\site-packages\paddlehub\common\paddle_helper.py", line 274, in clone_program dest_program.global_block()) File "E:\software\program\Python37\lib\site-packages\paddlehub\common\paddle_helper.py", line 147, in _copy_vars_and_ops_in_blocks var_info = copy.deepcopy(get_variable_info(var)) File "E:\software\program\Python37\lib\site-packages\paddlehub\common\paddle_helper.py", line 65, in get_variable_info var_info['gradient_clip_attr'] = var.gradient_clip_attr AttributeError: 'Parameter' object has no attribute 'gradient_clip_attr'
如果您没有查询到相似问题,为快速解决您的提问,建立issue时请提供如下细节信息:
- 标题:简洁、精准概括您的问题,例如“Insufficient Memory xxx" ”
- 版本、环境信息: 1)PaddlePaddle版本:1.8.0 2)CPU:i7 7700 4)系统环境:win10
- 训练信息 1)单机,单卡