在线时间0 小时
UID3794561
注册时间2021-11-5
NXP金币0
该用户从未签到
新手上路
- 积分
- 9
- 最后登录
- 2021-11-6
|
发表于 2021-11-5 09:00:32
|
显示全部楼层
您好,我也是量化出错,报错界面如下。Quantizing for the first time!
python.exe nnc.pyc -f model_19_1.0000.h5 -ds f5c5 -m 0 -l 14 --input_shift 7 -as -1 -as2 -1 --ws_min 2 --cls
Using TensorFlow backend.
Generating model for Cortex-M from model_19_1.0000.h5
Traceback (most recent call last):
File "nnc.py", line 1035, in <module>
File "nnc.py", line 7, in __init__
File "D:\seekfree_nncu_tool_master\nncu\nncu_env\lib\site-packages\keras\engine\saving.py", line 419, in load_model
model = _deserialize_model(f, custom_objects, compile)
File "D:\seekfree_nncu_tool_master\nncu\nncu_env\lib\site-packages\keras\engine\saving.py", line 251, in _deserialize_model
if weight_names:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
FAILED, exiting! |
|