Coder Social home page Coder Social logo

overflow encountered about foolbox HOT 7 CLOSED

bethgelab avatar bethgelab commented on May 23, 2024
overflow encountered

from foolbox.

Comments (7)

jonasrauber avatar jonasrauber commented on May 23, 2024

Could you please post the full error message / warning, including line numbers, stack trace, etc.

Also: which version of Python, Foolbox, NumPy are you using. Are you sure you are using the example code from the README as is or did you change anything?

from foolbox.

MrMOABy avatar MrMOABy commented on May 23, 2024

I'm not on the machine I was trying to run it on earlier, but I remember that it was from line 125 in distances.py. I know that I was running python 3.6.4 64 bit. Other versions were whatever was the latest found when installing through pycharm.

from foolbox.

jonasrauber avatar jonasrauber commented on May 23, 2024

Yes, I know it's that line, but I would still like to see the stack trace of the full error message and the version numbers once you have access to the machine again. Thanks!

from foolbox.

MrMOABy avatar MrMOABy commented on May 23, 2024

This is the only errors that I get:
Using TensorFlow backend.
2018-03-12 10:18:28.325898: I C:\tf_jenkins\workspace\rel-win\M\windows\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
..\AppData\Local\Programs\Python\Python36\lib\site-packages\foolbox\distances.py:125: RuntimeWarning: overflow encountered in long_scalars
f = n * (max_ - min_)**2

from foolbox.

MrMOABy avatar MrMOABy commented on May 23, 2024

Here's a link to all my versions of libraries/python: https://imgur.com/a/QSW6t

from foolbox.

jonasrauber avatar jonasrauber commented on May 23, 2024

What's the input size of your model?
What are the values that you pass as bounds?

from foolbox.

jonasrauber avatar jonasrauber commented on May 23, 2024

This should be fixed in Foolbox 0.15.0.

@MrMOABy please still let me know your input size and model bounds, thanks!

from foolbox.

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.