所有用户请注意:应管局要求,请各位尽量将代码仓库设置为内部可见。管理员会巡查公开的代码仓库。

Verified Commit f5fb10ab authored by Kiryuu Sakuya's avatar Kiryuu Sakuya 🎵
Browse files

Update

parent f745c1ab
import numpy as np
def VGGPreprocessing(originImgMatrix):
\"The only preprocessing we do is subtracting the mean RGB value, \\
computed on the training set, from each pixel.\\
原论文中对输入的RGB矩阵做了一个减去均值的预处理,该函数实现这个预处理\"
"The only preprocessing we do is subtracting the mean RGB value, \
computed on the training set, from each pixel. \
原论文中对输入的RGB矩阵做了一个减去均值的预处理,该函数实现这个预处理"
if type(originImgMatrix) is not np.ndarray:
originImgMatrix = np.ndarray(originImgMatrix)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment