mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

Data Shape vs resize:

Open gaush123 opened this issue 10 years ago • 2 comments

This is mostly related to the usage of mxnet, than reporting any issue. I am not sure if this is the place to ask this question.

I'd like to know the differnece between 'resize' (during conversion to rec format) and 'data_shape' in during data_iter process. Are they both different things? I have images size originally of ~800X300 order. Should I resize it to 256 during creation of .rec format or may I change the value to (3, 256, 256) kind of value later on, during data_iter method?

Any help appreciated!

gaush123 avatar Apr 04 '16 12:04 gaush123

If you use the default image iterator, you need to resize the images. If you wrote your own data_iter, you can do either. Depending on your use case.

piiswrong avatar Apr 05 '16 00:04 piiswrong

Ok, Thanks!

gaush123 avatar Apr 05 '16 10:04 gaush123