I’m wondering if it’s possible to run an imported model from Keras / Tensorflow with Nengo Loihi. I used this example of Fashion MNIST to import a code from Keras:
I would like to run it with nengo_loihi.Simulator instead of nengo_dl.Simulator what would allow to execute converted keras models on the Loihi chip. I got an error “No neurons marked for execution on-chip. Please mark some ensembles as on-chip” because, as I understand, Nengo Loihi requires among others a presentation time in the model. Is there any possibility or work around which would allow to execute keras/tf models on the Loihi chip?
While creating a network it is mentioned in the example “At this point we could add any other Nengo components we like to the network, and connect them up to the Keras node (for example, if we wanted to take the classified image labels and use them as input to a spiking neural model)”.
I know that it is possible to deploy a code directly written in Nengo (like in example https://www.nengo.ai/nengo-loihi/examples/mnist_convnet.html), but importing the whole model would make a big difference in my current project.
Thank you for answers!