Hello, I was working with snn_toolbox to convert keras models of nchw format to spiking neural networks, and I found out the function max_pool_with_argmax only accepts 'NHWC' as its data format.
Fetching and converting the data format here brings out an error if the data format is NCHW, and manual permutation of the axes is needed to make this work with NCHW.
Hello, I was working with snn_toolbox to convert keras models of nchw format to spiking neural networks, and I found out the function max_pool_with_argmax only accepts 'NHWC' as its data format.
at line 833 of temporal_mean_rate_tensorflow.py:
Fetching and converting the data format here brings out an error if the data format is NCHW, and manual permutation of the axes is needed to make this work with NCHW.