GithubHelp home page GithubHelp logo

Unable to Run about second.pytorch HOT 5 CLOSED

traveller59 avatar traveller59 commented on June 23, 2024
Unable to Run

from second.pytorch.

Comments (5)

traveller59 avatar traveller59 commented on June 23, 2024
  1. you need to change batch size to 1 in config file because 1050ti only have 4gb memory.
  2. use gdb or pdb to find problem location, I can't find problem in my environment, please provide more information.

from second.pytorch.

traveller59 avatar traveller59 commented on June 23, 2024

Do you modify files in SparseConvNet? I think your problem may due to this. pretrained model doesn't support SparseConvNet master, you need to follow README.md to modify some line after you install SparseConvNet.

from second.pytorch.

swarmt avatar swarmt commented on June 23, 2024

That could be the issue.

Installing in a conda env I get the error.

g++ /tmp/tmp5yesv3u8.cc -o tmp5yesv3u8 -I/usr/include -L/usr/lib64 -lcudart /tmp/tmp5yesv3u8.cc:4:23: error: ‘::main’ must return ‘int’ void main(){ ^ g++ /tmp/tmpvyirytjp.cc -o tmpvyirytjp -I/usr/include -L/usr/lib64 -lcudart /tmp/tmpvyirytjp.cc:4:23: error: ‘::main’ must return ‘int’ void main(){ ^ Traceback (most recent call last): File "/home/code/second.pytorch/second/core/non_max_suppression/nms_cpu.py", line 10, in <module> from second.core.non_max_suppression.nms import ( ModuleNotFoundError: No module named 'second.core.non_max_suppression.nms'

Would you like me to create an installation script to replicate the install steps exactly? Might need to specify the pip versions as well.

from second.pytorch.

traveller59 avatar traveller59 commented on June 23, 2024

@swarmt g++ error should be a problem during finding cuda arch, see this.. I have change the code to int main()... and fixed a serious bug, remember to update the code.
No, the install step only contains three step: 1) install dependencies. 2) install SparseConvNet. 3) prepare dataset.

from second.pytorch.

swarmt avatar swarmt commented on June 23, 2024

Excellent. I think we can call it fixed.

from second.pytorch.

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.