mnnpy icon indicating copy to clipboard operation
mnnpy copied to clipboard

out_batches not being set in transform_input_data() with cos_norm_out=False

Open ktpolanski opened this issue 7 years ago • 2 comments

Hello,

For whatever reason, I feel more comfortable running mnn_correct() with cos_norm_out set to False. As such, I tried to do it this way, and got an error about out_batches not being set. Looking at the source code of transform_input_data(), out_batches only gets set if cos_norm_out is set to True. Just bringing this to your attention, as in its current form an input flag kills the function.

ktpolanski avatar Jun 13 '18 10:06 ktpolanski

Thank you! I will look into it. If you have a direct fix, you are welcome to submit a pull request!

chriscainx avatar Jun 14 '18 13:06 chriscainx

I meet this error too!

wangjiawen2013 avatar Jun 19 '18 05:06 wangjiawen2013