jackyblackme commented on issue #371: computing image mean
URL: https://github.com/apache/incubator-mxnet/issues/371#issuecomment-380034766
 
 
   Yeah, Put mean_img="path/to/mean.nd". If the file does not exist, 
ImageRecordIterator will first create this file and calculate mean value, store 
result in the file. And then start training. Detail can be seen in file 
"iter_image_recordio_2.cc", the new version of recordio data iterator under 
"mxnetRoot/src/io/iter_image_recordio_2.cc". Maybe from line 216, the Normalize 
init and the CreateMeanImg function.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to