Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下性别识别中的这几段代码 #49

Open
jennall opened this issue Mar 15, 2020 · 0 comments
Open

请教一下性别识别中的这几段代码 #49

jennall opened this issue Mar 15, 2020 · 0 comments

Comments

@jennall
Copy link

jennall commented Mar 15, 2020

`
face = np.expand_dims(face, 0)

face = face / 255.0

gender_label_arg = np.argmax(gender_classifier.predict(face))

`
请问这几个维度的函数在性别识别中的作用是?为什么face/255.0?
初学者一枚,感谢各位指教

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant