cannot load saved conv synapses(slayer.synapse.Conv) in network.net with netx.hdf5.Network() when there are no any neurons after those synapses #348
Unanswered
gwgknudayanga
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
the final layer of my deep network is just conv synapses and there are no neurons after that. Then i exported my network to network.net and try to load with netx.hdf5.Network(). But it gives the following error.
Network
slayer.block.cuba.Conv(neuron_params,2,16,kernel_size = 3,stride = 2, padding=1,weight_norm=False, delay_shift = False,pre_hook_fx = quantizer),
slayer.block.cuba.Conv(neuron_params,16,32,kernel_size = 3,stride = 2, padding=1,weight_norm=False, delay_shift = False,pre_hook_fx = quantizer),
slayer.block.cuba.Conv(neuron_params,32,16,kernel_size = 3,stride = 2, padding=1,weight_norm=False, delay_shift = False,pre_hook_fx = quantizer),
slayer.synapse.Conv(16,10,kernel_size = 1,stride = 1, padding=0,weight_norm=False,pre_hook_fx = quantizer),
Error
/lib/python3.10/site-packages/lava/lib/dl/netx/hdf5.py:92) self.out_layer = self.layers[-1]
...
File h5py/_objects.pyx:55, in h5py._objects.with_phil.wrapper()
File h5py/h5o.pyx:190, in h5py.h5o.open()
KeyError: "Unable to synchronously open object (object 'neuron' doesn't exist)"
Beta Was this translation helpful? Give feedback.
All reactions