Giter Club home page Giter Club logo

Comments (2)

qiaoba2hao avatar qiaoba2hao commented on May 29, 2024 1

The answer has been found.

comment "static constexpr Symbol Kind" in "/torch/include/torch/csrc/jit/ir/ir.h"

from detectron2.

mghooi avatar mghooi commented on May 29, 2024

I am using a windows 10 machine with the following configuration
NVIDIA GeForce GTX 1650Ti
miniconda3
python 3.8
CUDA 11.1
PyTorch 1.8 downloaded directly & installed from PyTorch.org for CUDA-11.1
I have tried to install detectron2 based on the steps given in

https://dgmaxime.medium.com/how-to-easily-install-detectron2-on-windows-10-39186139101c

I have succesfully tested PyTorch installation however in the link given when I come to Step 5
that is

pip install -e .

My setup of detectron2 fails and gives me a huge list of errors that start with

Running setup.py develop for detectron2
ERROR: Command errored out with exit status 1:
command: 'C:\Users\user\miniconda3\envs\torch\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\user\detectron2-windows\setup.py'"'"'; file='"'"'C:\Users\user\detectron2-windows\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps
cwd: C:\Users\user\detectron2-windows
Complete output (3245 lines):
running develop
running egg_info
writing detectron2.egg-info\PKG-INFO
writing dependency_links to detectron2.egg-info\dependency_links.txt
writing requirements to detectron2.egg-info\requires.txt
writing top-level names to detectron2.egg-info\top_level.txt
reading manifest file 'detectron2.egg-info\SOURCES.txt'

.... which goes on for almost hundreds of lines. Any help will be really appreciated. Thanks

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.