How to properly preprocess images? #142
romanvelichkin
started this conversation in
General
Replies: 1 comment
-
The add_pre_post_process just adds 2 functions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see, many models have preprocess layer:
add_pre_post_process(model,
rescale_mode=rescale_mode)`But examples says I need to call preprocess forcibly:
pred = mm([mm.preprocess_input(chelsea())])
So what's the correct way, assuming I have raw images with [0, 256] range?
Beta Was this translation helpful? Give feedback.
All reactions