Coder Social home page Coder Social logo

Module not found error about pigvae HOT 6 OPEN

q3erf avatar q3erf commented on August 11, 2024
Module not found error

from pigvae.

Comments (6)

jrwnter avatar jrwnter commented on August 11, 2024

hi, did you install the specified versions of pytorch and pytroch-lightning? I think ptl changes the this module in later versions...

from pigvae.

q3erf avatar q3erf commented on August 11, 2024

hi, did you install the specified versions of pytorch and pytroch-lightning? I think ptl changes the this module in later versions...

thanks for your reply!
I I followed the Prerequisites and installed pytorch==1.7.1 and pytorch-lightning==1.5.4, with torch-geometric==1.7.1

from pigvae.

jrwnter avatar jrwnter commented on August 11, 2024

Hi, try pytorch-lightning==1.3.1, as specified. I will try to make things work with later versions, but for some reasons I had worse results with later ptl version (which should not be the case...)

from pigvae.

q3erf avatar q3erf commented on August 11, 2024

I have tried pytorch-lightning==1.3.1 and it works!
BUT there is a new problem that p = np.random.randint(low=self.p_min, high=self.p_max) in synthetic_graphs/data.py line:100, where low=0.4, high=0.6 settings are errors for this line.
I don't understand this a bit, and thanks for your replies!

from pigvae.

IreneTallini avatar IreneTallini commented on August 11, 2024

Same, I solved by replacing the line with np.random.uniform(low=self.p_min, high=self.p_max)

from pigvae.

q3erf avatar q3erf commented on August 11, 2024

from pigvae.

Related Issues (6)

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.