This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Replies: 2 comments
-
|
@lichen11 @mxnet-label-bot [R, Question] |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi, I actually also noticed an error in the MXNet R API im2rec. When the original images are actually normalized to [0,1], when using im2rec to pack the images, the pixel values are scaled to [0, 255]. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I want to normalize the pixel values into [0, 255] without reading the images, normalizing them and re-saving them as jpeg. I used the im2rec API in R and notice there is no value normalization in this API. Then I tried reassign values to the rec files as follows:
I got the error below
Error in val$value()$data = val_data :
invalid (NULL) left side of assignment
Is there another way to normalize the images by 255 in mxnet R? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions