Git Product home page Git Product logo

Comments (6)

AdrienCorenflos avatar AdrienCorenflos commented on June 27, 2024 1

from torchsde.

lxuechen avatar lxuechen commented on June 27, 2024

Hi,

I just tried installing the library via ssh from master, and this doesn't appear to be a problem. Could you provide more context?

As a side note, I understand that it could be confusing when different things have the same name. Though, the point I want to make is that import torchsde._core.sdeint as sdeint_module imports the module file sdeint.py, whereas from torchsde._core import sdeint as sdeint_module actually imports the function sdeint in that file. Here, we'd like to import the module file to use its function integrate.

Thanks,
Chen

from torchsde.

lxuechen avatar lxuechen commented on June 27, 2024

Does this error still occur when installing the master branch? Thanks.

from torchsde.

AdrienCorenflos avatar AdrienCorenflos commented on June 27, 2024

from torchsde.

lxuechen avatar lxuechen commented on June 27, 2024

I just reproduced this on colab. I think it might have something to do with colab, since I'm not seeing this issue on my local machine or remote vm.

I'll get this fixed ASAP. Thanks again for the report!

For the time being, I'd recommend installing a previous version if the plan is just to play with the code, e.g.

!pip install git+http://[email protected]/google-research/[email protected]

from torchsde.

lxuechen avatar lxuechen commented on June 27, 2024

Just debugged this and found it to only be an issue for Python <= 3.6. Here's the related bug fix discussion https://bugs.python.org/issue30024

Will send in a commit soon to fix it so that it also works with Python>=3 <=3.6.

from torchsde.

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.