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.
Hello,
For whatever reason, I feel more comfortable running
mnn_correct()
withcos_norm_out
set to False. As such, I tried to do it this way, and got an error aboutout_batches
not being set. Looking at the source code oftransform_input_data()
,out_batches
only gets set ifcos_norm_out
is set to True. Just bringing this to your attention, as in its current form an input flag kills the function.