Code Monkey home page Code Monkey logo

Comments (6)

rgerkin avatar rgerkin commented on September 4, 2024

@russelljjarvis
It/you must not be using the newest version of SciUnit. unpicklable is an attribute of every score as of yesterday. In Travis it should be using it, since it does a normal python setup.py install which will use neuronunit's setup.py to install from the dev tarball. For your docker instance I'm not sure, but you might want to check.

from neuronunit.

russelljjarvis avatar russelljjarvis commented on September 4, 2024

AOK. Just noticed this update. I forgot to rebuild the Dockerfile, such that sciunit pulls from latest. Will try that now.

from neuronunit.

russelljjarvis avatar russelljjarvis commented on September 4, 2024

After upgrading my docker build to reflect sciunit changes in scidash/sciunit +b dev:

  File "/opt/conda/lib/python3.5/site-packages/sciunit-0.1.5.6-py3.5.egg/sciunit/__init__.py", line 51, in __getstate__
    for key in self.unpicklable:
AttributeError: 'RheobaseTest' object has no attribute 'unpicklable'

This means sciunit now has the unpickable code in it but it does not work as expected.

from neuronunit.

rgerkin avatar rgerkin commented on September 4, 2024

@russelljjarvis
Did you rebuild the images using the build-all script? If not, it might just be using the cached sciunit instead of the new one.

from neuronunit.

rgerkin avatar rgerkin commented on September 4, 2024

For reference, unpicklable comes from here. Every model, test, and score inherits from this class and calls its constructor so every model, test, and score should have this attribute unless you use are using a model, test, or score with its own constructor that doesn't call one of the parent constructors.

from neuronunit.

rgerkin avatar rgerkin commented on September 4, 2024

Duplicate of #66.

from neuronunit.

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.