mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

ImageRecordIter don't support uint16 png

Open dsqx71 opened this issue 10 years ago • 1 comments

I try to change cv::Mat buf(1, rec.content_size, CV_8U, rec.content) to cv::Mat buf(1, rec.content_size, CV_16U, rec.content) in iter_image_recordio.cc but still wrong.

dsqx71 avatar May 15 '16 07:05 dsqx71

You need to first convert them to uint8

piiswrong avatar May 15 '16 08:05 piiswrong