Giter VIP home page Giter VIP logo

Comments (3)

rbodo avatar rbodo commented on May 22, 2024

The datagenerator should work fine in SNN toolbox, I've used it regularly for ImageNet and other datasets.

Do you get the same error also under different conditions (e.g. using one of the example scripts)? I would need to see more details to be able to help with this (error stack trace, network architecture / training script).

from snn_toolbox.

delpie avatar delpie commented on May 22, 2024

Hi Bodo,

Roshan and I are in the same team.
We are able to run the Keras trained .h5 model in snntoolbox using INI.
However we encountered an error during weight normalisation. Wonder what
happpend. Below is the message: Rgds Del
Building parsed model...

Compiling parsed model...

Normalizing parameters...
Traceback (most recent call last):
File "/home1/ncp/anaconda2/bin/snntoolbox", line 11, in
sys.exit(main())
File "/home1/ncp/anaconda2/lib/python2.7/site-packages/snntoolbox/bin/run.py", line 50, in main
test_full(config)
File "/home1/ncp/anaconda2/lib/python2.7/site-packages/snntoolbox/bin/utils.py", line 95, in test_full
normalize_parameters(parsed_model, config, **normset)
File "/home1/ncp/anaconda2/lib/python2.7/site-packages/snntoolbox/conversion/utils.py", line 147, in normalize_parameters
scale_fac = scale_facs[layer.name]
KeyError: '00Conv2D_64x64x16'

from snn_toolbox.

rbodo avatar rbodo commented on May 22, 2024

Hmm, the toolbox tries to load scale factors from a previous run from disk, to save computation time. If the user changed the network architecture in the same working directory, it can lead to a mismatch with the saved dict. Try deleting the normalization folder in your working dir.

from snn_toolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.