Git Product home page Git Product logo

superpixelpool.pytorch's People

Contributors

idealwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

superpixelpool.pytorch's Issues

some questions about usage

I just install your code by 'python setup.py install'
And it has a folder in python site-packages named 'suppixpool_CUDA-0.0.0-py3.6-linux-x86_64.egg'
But I could not import it by 'import suppixpool_CUDA as spx_gpu'
Could you tell me why?
Thank you~

error in "python setup.py install"

Hi, Thanks for sharing your code. I have a problem when running:
python_ setup.py install

The error shows:

suppixpool_cuda.cpp:38:44: error: could not convert ‘torch::CUDA((c10::ScalarType)3)’ from ‘at::TypeExtendedInterface’ to ‘c10::IntList {aka c10::ArrayRef}’
at::Tensor output = at::zeros(torch::CUDA(at::kInt), {batch_size, channe
^
suppixpool_cuda.cpp:41:73: error: could not convert ‘c10::kInt’ from ‘const c10::ScalarType’ to ‘c10::IntList {aka c10::ArrayRef}’
at::Tensor outIdx = -at::ones(at::kInt, {batch_size, channels_size, K});
^
error: command 'gcc' failed with exit status 1

I have upgraded my Pytorch from 0.4.0 to 1.0.0 and my gcc version is "gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609". But the error still appears. I am wondering whether it is due to the version of dependency? What ahout your settings? Thanks!

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.