Giter Club home page Giter Club logo

Comments (7)

vincent-legoll avatar vincent-legoll commented on August 26, 2024 6

Or you can take the code from just before the commit that broke it:
pip install 'git+https://github.com/facebookresearch/detectron2.git@a59f05630a8f205756064244bf5beb8661f96180'
That's the workaround I used for LabGym.

from detectron2.

RenaYoyo avatar RenaYoyo commented on August 26, 2024 3

The latest v0.6 is different from the previous v0.6. You can install the previous one to solve this problem, like pip install 'git+https://github.com/facebookresearch/[email protected]'

from detectron2.

mancubus77 avatar mancubus77 commented on August 26, 2024 2

Just wondering what CUDA versions and drivers are you using guys?
Doco is outdated, and has no info about latest versions

from detectron2.

Marlod390 avatar Marlod390 commented on August 26, 2024 1

Or you can take the code from just before the commit that broke it: pip install 'git+https://github.com/facebookresearch/detectron2.git@a59f05630a8f205756064244bf5beb8661f96180' That's the workaround I used for LabGym.

I am using torch==2.0.0 and this works for me. Don’t forget to uninstall the current detecron2 before executing the command, otherwise an error will still appear.

from detectron2.

Marlod390 avatar Marlod390 commented on August 26, 2024 1

@ChrsBaur cuda11.8

from detectron2.

vvvvabc avatar vvvvabc commented on August 26, 2024

I have the same problem you have. I use torch==2.0.0.
I find torch.compiler.disable is used in pytorch versions 2.2 and above.you can upgrade you pytorch versions or try to change your detectron2 version.
I solve this problom by upgrading torch==2.2.0.

from detectron2.

ChrsBaur avatar ChrsBaur commented on August 26, 2024

I have the same problem you have. I use torch==2.0.0. I find torch.compiler.disable is used in pytorch versions 2.2 and above.you can upgrade you pytorch versions or try to change your detectron2 version. I solve this problom by upgrading torch==2.2.0.

What CUDA Version are you using? @vvvvabc @Marlod390 ?
I have the same issue.

from detectron2.

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.