Traceback (most recent call last):


 "D:\dev\Anaconda\envs\paddle\lib\site-packages\IPython\core\interactiveshell.py", line 3331, in run_code

exec(code_obj, self.user_global_ns, self.user_ns)


 "<ipython-input-2-18576bfe9166>", line 1, in <module>

runfile('D:/dev/projects/local/python/research/user-intent-classification/models/conco_ernie/single_intent/single_intent_conco_ernie_tiny.py', wdir='D:/dev/projects/local/python/research/user-intent-classification/models/conco_ernie/single_intent')


 "D:\Application\PyCharm 2019.3.2\plugins\python\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile

pydev_imports.execfile(filename, global_vars, local_vars)
# execute the script


 "D:\Application\PyCharm 2019.3.2\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile

exec(compile(contents+"\n", file, 'exec'), glob, loc)


 "D:/dev/projects/local/python/research/user-intent-classification/models/conco_ernie/single_intent/single_intent_conco_ernie_tiny.py", line 118, in <module>

run_states = cls_task.finetune()


 "D:\dev\Anaconda\envs\paddle\lib\site-packages\paddlehub\finetune\task\base_task.py", line 784, in finetune

self.save_checkpoint()


 "D:\dev\Anaconda\envs\paddle\lib\site-packages\paddlehub\finetune\task\base_task.py", line 719, in save_checkpoint

self.save_inference_model(dirname=model_saved_dir)


 "D:\dev\Anaconda\envs\paddle\lib\site-packages\paddlehub\finetune\task\base_task.py", line 760, in save_inference_model

params_filename=params_filename)


 "D:\dev\Anaconda\envs\paddle\lib\site-packages\paddle\fluid\io.py", line 1189, in save_inference_model

prepend_feed_ops(main_program, feeded_var_names)


 "D:\dev\Anaconda\envs\paddle\lib\site-packages\paddle\fluid\io.py", line 988, in prepend_feed_ops

out = global_block.var(name)


 "D:\dev\Anaconda\envs\paddle\lib\site-packages\paddle\fluid\framework.py", line 2263, in var

raise ValueError("var %s not in this block" % name)
ValueError: var concept_ids not in this block

Traceback (most recent call last):


 "C:\Users\ayman\Anaconda3\envs\py35\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 524, in _apply_op_helper

values, as_ref=input_arg.is_ref).dtype.name


 "C:\Users\ayman\Anaconda3\envs\py35\lib\site-packages\tensorflow\python\framework\ops.py", line 1104, in internal_convert_to_tensor

ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)


 "C:\Users\ayman\Anaconda3\envs\py35\lib\site-packages\tensorflow\python\framework\constant_op.py", line 235, in _constant_tensor_conversion_function

return constant(v, dtype=dtype, name=name)


 "C:\Users\ayman\Anaconda3\envs\py35\lib\site-packages\tensorflow\python\framework\constant_op.py", line 214, in constant

value, dtype=dtype, shape=shape, verify_shape=verify_shape))


 "C:\Users\ayman\Anaconda3\envs\py35\lib\site-packages\tensorflow\python\framework\tensor_util.py", line 441, in make_tensor_proto

_GetDenseDimensions(values)))
ValueError: Argument must be a dense tensor: range(0, 3) - got shape [3], but wanted [].
