-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
你好,
我用fit好的模型转tf serving需要的pb文件,会报错,问题应该是CRFLoss命名规范问题。可否帮忙看下
错误提示:
/opt/conda/lib/python3.7/site-packages/tensorflow_core/python/util/serialization.py in get_json_type(obj)
52 # misc functions (e.g. loss function)
53 if callable(obj):
---> 54 return obj.name
55
56 # if obj is a python 'type'
AttributeError: 'CRFLoss' object has no attribute 'name'
Metadata
Metadata
Assignees
Labels
No labels