Git Product home page Git Product logo

Comments (5)

hjsuh94 avatar hjsuh94 commented on August 16, 2024

Seems like a good idea. I also got the following error while trying to use scikit-learn in Docker:
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb

which stopped after I did pip3 install numpy --upgrade.

Strange, but it seems like the version installed by sudo apt-get install python3-numpy in install_prereqs.sh is not high enough? Would it be good to put a version requirement for numpy in requirements.txt?

from manipulation.

RussTedrake avatar RussTedrake commented on August 16, 2024

ugh. i already did something similar for scipy to make CI happy. i'm ok if you need to do it.

from manipulation.

RussTedrake avatar RussTedrake commented on August 16, 2024

@hjsuh94 -- i've made the change in my pose.ipynb. can you propagate it to the exercises, and let me know? then we can remove the build dependencies, too.

from manipulation.

hjsuh94 avatar hjsuh94 commented on August 16, 2024

Got it! I will make a PR after running some checks like uploading to Gradescope.

Meanwhile, I think you have a typo in pose.ipynb.
distance = np.linalg.norm(point_cloud_A[:,i] - point_cloud_B[:,i])

should be
distances[i] = np.linalg.norm(point_cloud_A[:,i] - point_cloud_B[:,indices[i])]?

from manipulation.

RussTedrake avatar RussTedrake commented on August 16, 2024

oops. gulp. that actually also revealed that i'm not actually using the distances anywhere. So I've simply removed that part. thanks for catching it!

from manipulation.

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.