PaddleSlim icon indicating copy to clipboard operation
PaddleSlim copied to clipboard

我在使用静态离线量化的时候遇到这个问题 TypeError: When the type of 'input' in assign is numpy.ndarray, the data type of 'input' must be bool, float32, int32 or int64, but received uint8.

Open sranqiu opened this issue 1 year ago • 1 comments

TypeError: When the type of 'input' in assign is numpy.ndarray, the data type of 'input' must be bool, float32, int32 or int64, but received uint8.

sranqiu avatar Dec 05 '23 14:12 sranqiu

看起来是因为你的input是uint8类型的numpy数组,暂不支持

XGZhang11 avatar Feb 06 '24 07:02 XGZhang11