You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
Hello,
Thanks for sharing the DNN implementation on the Loihi chip!
When I was trying to reproduce the b_image_classification_cifar.ipynb, I encountered this error: AttributeError: 'SNN' object has no attribute '_is_aedat_input'.
Any ideas on how to fix this?
in convert_model(config_file_path)
4 from snntoolbox.bin.run import main
5
----> 6 main(config_file_path)
~/nxsdk095/lib/python3.5/site-packages/snntoolbox/bin/run.py in main(filepath)
29 if filepath is not None:
30 config = update_setup(filepath)
---> 31 run_pipeline(config)
32 return
33
~/nxsdk095/lib/python3.5/site-packages/snntoolbox/bin/utils.py in run_pipeline(config, queue)
125 config.get('paths', 'filename_parsed_model')))
126
--> 127 spiking_model.build(parsed_model, **testset)
128
129 # Export network in a format specific to the simulator with which it
~/nxsdk095/lib/python3.5/site-packages/snntoolbox/simulation/utils.py in build(self, parsed_model, **kwargs)
434
435 # Iterate over layers to create spiking neurons and connections.
--> 436 self.setup_layers(batch_shape)
437
438 print("Compiling spiking model...\n")
~/nxsdk095/lib/python3.5/site-packages/snntoolbox/simulation/utils.py in setup_layers(self, batch_shape)
765 """Iterates over all layers to instantiate them in the simulator"""
766
--> 767 self.add_input_layer(batch_shape)
768 for layer in self.parsed_model.layers[1:]:
769 print("Building layer: {}".format(layer.name))
~/0.9.5/nxsdk-apps-0.9.5/inrc_dnn/nxsdk_modules_ncl/snntoolbox/nx_backend.py in add_input_layer(self, input_shape)
255 if self._poisson_input:
256 raise NotImplementedError
--> 257 elif self._is_aedat_input:
258 input_mode = nxtf.InputModes.AEDAT
259 else:`
The text was updated successfully, but these errors were encountered:
Hello,
Thanks for sharing the DNN implementation on the Loihi chip!
When I was trying to reproduce the b_image_classification_cifar.ipynb, I encountered this error:
AttributeError: 'SNN' object has no attribute '_is_aedat_input'.
Any ideas on how to fix this?
Thanks!
`---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
7 )
8
----> 9 convert_model(config_file_path)
in convert_model(config_file_path)
4 from snntoolbox.bin.run import main
5
----> 6 main(config_file_path)
~/nxsdk095/lib/python3.5/site-packages/snntoolbox/bin/run.py in main(filepath)
29 if filepath is not None:
30 config = update_setup(filepath)
---> 31 run_pipeline(config)
32 return
33
~/nxsdk095/lib/python3.5/site-packages/snntoolbox/bin/utils.py in run_pipeline(config, queue)
125 config.get('paths', 'filename_parsed_model')))
126
--> 127 spiking_model.build(parsed_model, **testset)
128
129 # Export network in a format specific to the simulator with which it
~/nxsdk095/lib/python3.5/site-packages/snntoolbox/simulation/utils.py in build(self, parsed_model, **kwargs)
434
435 # Iterate over layers to create spiking neurons and connections.
--> 436 self.setup_layers(batch_shape)
437
438 print("Compiling spiking model...\n")
~/nxsdk095/lib/python3.5/site-packages/snntoolbox/simulation/utils.py in setup_layers(self, batch_shape)
765 """Iterates over all layers to instantiate them in the simulator"""
766
--> 767 self.add_input_layer(batch_shape)
768 for layer in self.parsed_model.layers[1:]:
769 print("Building layer: {}".format(layer.name))
~/0.9.5/nxsdk-apps-0.9.5/inrc_dnn/nxsdk_modules_ncl/snntoolbox/nx_backend.py in add_input_layer(self, input_shape)
255 if self._poisson_input:
256 raise NotImplementedError
--> 257 elif self._is_aedat_input:
258 input_mode = nxtf.InputModes.AEDAT
259 else:`
The text was updated successfully, but these errors were encountered: