deepinsight / deepinsight/insightface
mxnet模型推理不做减均值除方差了吗
Open
- Dominant language
- Python
- Stars
- 29.7k
- Forks
- 6.1k
- PR merge metrics
- No merged PRs in 30d
Description
对图像转张量后,不做减均值除方差了吗?如下:
img = cv2.imread(image_path)
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
img = img.transpose(2, 0, 1)
img = img[np.newaxis, :]
array = mx.nd.array(img)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.