GithubHelp home page GithubHelp logo

Setup-issue-Windows-10 about dgl-ke HOT 9 CLOSED

awslabs avatar awslabs commented on May 14, 2024
Setup-issue-Windows-10

from dgl-ke.

Comments (9)

zheng-da avatar zheng-da commented on May 14, 2024

This is probably a bug in DGL. We didn't test it in Windows.

from dgl-ke.

rizwan29 avatar rizwan29 commented on May 14, 2024

thanks @zheng-da any idea if there is any work-around or when this issue may get fixed?

from dgl-ke.

zheng-da avatar zheng-da commented on May 14, 2024

We plan to have a v0.1.1 release. The estimated release time is around the end of May or beginning of June. Thanks.

from dgl-ke.

zheng-da avatar zheng-da commented on May 14, 2024

For now, you might want to ensure the tensor for seed edges is int64. For some reason, it's int32 in windows.

from dgl-ke.

classicsong avatar classicsong commented on May 14, 2024

thanks @zheng-da any idea if there is any work-around or when this issue may get fixed?

Can you try some linux environments? or use a 64bit virtual machine?

from dgl-ke.

classicsong avatar classicsong commented on May 14, 2024

thanks @zheng-da any idea if there is any work-around or when this issue may get fixed?

Can you try install dgl-ke from source and change:

seed_edges=F.tensor(self.edge_parts[rank]),

to

seed_edges=F.tensor(self.edge_parts[rank], dtype=F.int64),

from dgl-ke.

Jack021515 avatar Jack021515 commented on May 14, 2024

thanks @zheng-da any idea if there is any work-around or when this issue may get fixed?

Can you try install dgl-ke from source and change:

seed_edges=F.tensor(self.edge_parts[rank]),

to
seed_edges=F.tensor(self.edge_parts[rank], dtype=F.int64),
Thank you very much, I ran into the same problem as riwan29, and used your method to solve the problem!

from dgl-ke.

ChrisDelClea avatar ChrisDelClea commented on May 14, 2024

hey @classicsong ,

I ran into the same error. After i modifed the sampler.py i get the following error:

Expected type graph.Graph but get graph.HetroGraph

Why could that be and how to fix it?

Best regards
Chris

from dgl-ke.

h4ck3rm1k3 avatar h4ck3rm1k3 commented on May 14, 2024

@ChrisDelClea that requires you downgrade the version of dgl to be under 0.5, newer versions dont work.
pip install dgl==0.4.3.post2

from dgl-ke.

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.