GithubHelp home page GithubHelp logo

non-contiguous about sgas HOT 4 CLOSED

lightaime avatar lightaime commented on June 18, 2024 1
non-contiguous

from sgas.

Comments (4)

guochengqian avatar guochengqian commented on June 18, 2024

Hello. @964918993 Could you provide more details. For example, in which line did you encounter such an error?
Since I cannot reproduce the error, it is hard for me to help you.
Also, you can try to add contiguous here (L81 in gcn/gcn_lib/dense/torch_nn.py):
idx = idx.view(batch_size, -1)
to
idx = idx.contiguous().view(batch_size, -1)

I hope this will work in your situation. We did not add contiguous() here for the reason that we never met the same issue.

from sgas.

guochengqian avatar guochengqian commented on June 18, 2024

I add .contiguous() in torch_nn.py as default, since more people report the non-contiguous input issue.
The code works fine on my side (V100, Titan XP, Titan V), with PyTorch 1.4 and CUDA10.0.

If it does not work for you, you guys can reopen the issue and post your environment here, such that we can easily debug and solve the problem together.

Thanks!

from sgas.

964918993 avatar 964918993 commented on June 18, 2024

Thanks for your reply.

But the problem I have now is:RuntimeError: No such operator torch_cluster::random_walk.
I have run the env_install step by step, But when I run the code "sgas/gcn_point/train_search", I have this.

Do you have any thoughts on this question?

from sgas.

linhaojia13 avatar linhaojia13 commented on June 18, 2024

Hi, @guochengqian . Adding .contiguous() in torch_nn.py as default doesn't work on my side (2080Ti, PyTorch 1.4.0, CUDA 10.1).
Therefore, I disable the cudnn by setting "cudnn.enabled = False" and the time consume for one training epoch is about 84 seconds for training the compact model on ModelNet40.
I want to know how this disabling can influence the computing speed, could you please tell me your one-epoch training time on the same experiment?

from sgas.

Related Issues (16)

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.