How to Install Detectron2 | OpenCV Python | Computer Vision (2021) | Pt 2

How to Install Detectron2 | OpenCV Python | Computer Vision (2021) | Pt 2

Augmented AI

3 года назад

21,967 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Welson Fy
Welson Fy - 18.09.2023 18:57

pip install -e . = error : RuntimeError: Error compiling objects for extension
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

Ответить
Paul John Toral
Paul John Toral - 25.07.2023 12:56

ImportError: cannot import name '_nt_quote_args' from 'distutils.spawn' (C:\Users\Paul John\.conda\envs\detectron\lib\site-packages\setuptools\_distutils\spawn.py)
[end of output]

Im getting this error when I run the installation of setup.pu

Has anyone ever encountered this? really need help

Ответить
Evan Shlom
Evan Shlom - 12.05.2023 05:08

please show working in a real ide with detectron2 (not colab)

Ответить
Francisco Alberto
Francisco Alberto - 19.09.2022 17:12

Hello, I have a question for you, I implemented the algorithm and it turned out good for me, but I have several questions.
1- How can I see what I get at the output or what is obtained, the pixels that make up the detected object?
2 - Is there any way to get the name of the object and the percentage that only segments the object?

Ответить
Pooja Kumari
Pooja Kumari - 18.05.2022 15:06

ERROR: Command errored out with exit status 1:
command: 'C:\Users\shiva\anaconda3\envs\detectron\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\shiva\\detectron2\\detectron2\\setup.py'"'"'; __file__='"'"'C:\\Users\\shiva\\detectron2\\detectron2\\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\shiva\detectron2\detectron2\
Complete output (87 lines):
running develop
running egg_info
creating detectron2.egg-info
writing detectron2.egg-info\PKG-INFO

Ответить
Pooja Kumari
Pooja Kumari - 18.05.2022 15:06

While running pip install -e . lots of errors are coming...is anyone able to install from this website

Ответить
Francisco Alberto
Francisco Alberto - 16.04.2022 17:28

Hello, could you pass me the colab that you show in the video?

Ответить
VBFilms
VBFilms - 28.02.2022 14:18

I've tried several tutorials but I still keep getting "DLL load failed while importing win32file". This just doesn't seem doable.

Ответить
Vijaya Lakshmi Jupudi
Vijaya Lakshmi Jupudi - 09.06.2021 20:40

Is it possible to install it with Radeon graphic card...

Ответить
JOHN
JOHN - 05.06.2021 09:34

Is there anyone who were able to do validation in detectron2 between the training

Ответить
JOHN
JOHN - 04.06.2021 10:37

Is there anyone who had worked with detectron2 and done validation, training and testing across datasets. I am having a trouble in getting validation graph. Can anyone help me
Can anyone give suggestions or instructions on integrating this code with detectron2 official code. I had done

from detectron2.engine import MyTrainer
from detectron2.engine import LossEvalHook
and
trainer = MyTrainer(cfg)
in my training scripts

But getting an error

TypeError Traceback (most recent call last)

in

21

22 os.makedirs(cfg.OUTPUT_DIR, exist_ok=True)
---> 23 trainer = MyTrainer(cfg)
24 trainer.resume_or_load(resume=False)
25 trainer.train()
TypeError: 'module' object is not callable
Please help me to solve this problem

Ответить
Alejandro Ruiz
Alejandro Ruiz - 19.05.2021 20:05

When trying 'pip install -e .' the following error appears:
"OSError: [WinError 127] The specified procedure could not be found. Error loading "C:\ProgramData\Anaconda3\lib\site-packages\torch\lib\caffe2_detectron_ops.dll" or one of its dependencies." How can I fix that?

I looked for the file caffe2_detectron_ops.dll, and it is actually named caffe2_detectron_ops_gpu.dll. I tried changing the name from caffe2_detectron_ops_gpu.dll to caffe2_detectron_ops.dll and run the line again, but the same error appeared.

Ответить
AAL
AAL - 22.04.2021 16:21

Is it possible to install detectron2 with an integrated graphic card?

Ответить
economies simplified
economies simplified - 21.04.2021 16:46

ERROR: Invalid requirement: 'pycocotools $subdirectory=PythonAPI'
Hint: = is not a valid operator. Did you mean == ?

Ответить
Ali Nawaz
Ali Nawaz - 16.03.2021 13:00

cocotool installation makes an error how to avoid this please make s separate video about this thanks

Ответить
heh
heh - 16.03.2021 10:55

for the last segment "Run panoptic segmentation on a video ", I keep getting ModuleNotFoundError: No module named 'cv2'. Anyone knows how to fix this?

Ответить
JW C
JW C - 07.03.2021 18:46

error occurred when pip install -e .
ERROR: Command errored out with exit status 1:
command: 'C:\Users\User\anaconda3\envs\detectron\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\User\\detectron2\\setup.py'"'"'; __file__='"'"'C:\\Users\\User\\detectron2\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps
cwd: C:\Users\User\detectron2\

what should I do?

Ответить
G. vK
G. vK - 25.02.2021 15:29

Hey there same Problem "AssertionError: Checkpoint detectron2://COCO-Detection/...." not found !

Ответить
Steve Hendra
Steve Hendra - 11.02.2021 18:16

Hi, Augmented Startups, I am following your guidance for installing Detectron 2. All works very well. However, when I test my installation, I get an assertion error: detectron2://COCO-Detection/faster_rcnn_R_101_FPN_3x/137851257/model_final_f6e8b1.pkl is not found.

How can I solve this error?

Ответить
Vishnu Teja
Vishnu Teja - 20.01.2021 09:49

NVDIA Graphic card is needed to install NVDIA CUDA software installation??

Ответить
hashir
hashir - 19.01.2021 15:00

Is there a way to use it with deepsort for object tracking (particularly cars)

Ответить
Duncan Kibet
Duncan Kibet - 19.01.2021 03:25

is it possible for also object counting in real-time?

Ответить
Ghouse thanedar
Ghouse thanedar - 18.01.2021 10:06

How to check cuda for macbook air?

Ответить
Enes Yıldırım
Enes Yıldırım - 15.01.2021 04:29

Please post this video sooner, I need this please and let the detectron tutorial series continue please

Ответить