Giter VIP home page Giter VIP logo

Comments (8)

jjandnn avatar jjandnn commented on June 24, 2024 2

detectron2.这个包编译安装,要求:windows c++库你得装着。
然后依赖: black, cloudpickle, future, fvcore, hydra-core, iopath, matplotlib, omegaconf, Pillow, pycocotools, pydot, tabulate, tensorboard, termcolor, tqdm, yacs
上面的依赖中pycocotools千万别漏了。
接着DensePose的安装依赖detectron2(Required-by: detectron2-densepose),所以:
1,pip install git+https://github.com/facebookresearch/[email protected]
2,pip install git+https://github.com/facebookresearch/[email protected]#subdirectory=projects/DensePose

from vid2densepose.

rookiestar28 avatar rookiestar28 commented on June 24, 2024

根據大佬提供的指令:
pip install git+https://github.com/facebookresearch/[email protected]#subdirectory=projects/DensePose
出現以下報錯,是因為沒有修改__init__.py文件的關係嗎?
求指導 QQ

螢幕擷取畫面 2023-12-10 135036

from vid2densepose.

ogladkov avatar ogladkov commented on June 24, 2024

Same issue here

from vid2densepose.

xiohulp avatar xiohulp commented on June 24, 2024

detectron2.这个包编译安装,要求:windows c++库你得装着。 然后依赖: black, cloudpickle, future, fvcore, hydra-core, iopath, matplotlib, omegaconf, Pillow, pycocotools, pydot, tabulate, tensorboard, termcolor, tqdm, yacs 上面的依赖中pycocotools千万别漏了。 接着DensePose的安装依赖detectron2(Required-by: detectron2-densepose),所以: 1,pip install git+https://github.com/facebookresearch/[email protected] 2,pip install git+https://github.com/facebookresearch/[email protected]#subdirectory=projects/DensePose

需要装哪些c++运行库?

from vid2densepose.

xiohulp avatar xiohulp commented on June 24, 2024

after following the installation guide, when i run the app, got the error message:
(venv) D:\vid2densepose>python app.py
Traceback (most recent call last):
File "app.py", line 2, in
from detectron2.config import get_cfg
File "D:\vid2densepose\venv\lib\site-packages\detectron2_init_.py", line 5, in
setup_environment()
File "D:\vid2densepose\venv\lib\site-packages\detectron2\utils\env.py", line 108, in setup_environment
configure_libraries()
File "D:\vid2densepose\venv\lib\site-packages\detectron2\utils\env.py", line 72, in configure_libraries
import cv2
File "D:\vid2densepose\venv\lib\site-packages\cv2_init
.py", line 181, in
bootstrap()
File "D:\vid2densepose\venv\lib\site-packages\cv2_init
.py", line 175, in bootstrap
if _load_extra_py_code_for_module("cv2", submodule, DEBUG):
File "D:\vid2densepose\venv\lib\site-packages\cv2_init
.py", line 28, in _load_extra_py_code_for_module
py_module = importlib.import_module(module_name)
File "C:\Users\xiohu.conda\envs\python38\lib\importlib_init
.py", line 127, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "D:\vid2densepose\venv\lib\site-packages\cv2\typing_init
.py", line 68, in
if numpy.lib.NumpyVersion(numpy.version) > "1.20.0" and sys.version_info >= (3, 9):
File "D:\vid2densepose\venv\lib\site-packages\numpy\lib_version.py", line 57, in init
ver_main = re.match(r'\d+.\d+.\d+', vstring)
File "C:\Users\xiohu.conda\envs\python38\lib\re.py", line 191, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or bytes-like object

from vid2densepose.

tadeodonegana avatar tadeodonegana commented on June 24, 2024

detectron2.这个包编译安装,要求:windows c++库你得装着。 然后依赖: black, cloudpickle, future, fvcore, hydra-core, iopath, matplotlib, omegaconf, Pillow, pycocotools, pydot, tabulate, tensorboard, termcolor, tqdm, yacs 上面的依赖中pycocotools千万别漏了。 接着DensePose的安装依赖detectron2(Required-by: detectron2-densepose),所以: 1,pip install git+https://github.com/facebookresearch/[email protected] 2,pip install git+https://github.com/facebookresearch/[email protected]#subdirectory=projects/DensePose

Hi @jjandnn, does this solved the issue? I am looking to determine if this is the correct solution and have an answer in English.

Thanks in advance.

from vid2densepose.

Starzilla29 avatar Starzilla29 commented on June 24, 2024

detectron2.这个包编译安装,要求:windows c++库你得装着。 然后依赖: black, cloudpickle, future, fvcore, hydra-core, iopath, matplotlib, omegaconf, Pillow, pycocotools, pydot, tabulate, tensorboard, termcolor, tqdm, yacs 上面的依赖中pycocotools千万别漏了。 接着DensePose的安装依赖detectron2(Required-by: detectron2-densepose),所以: 1,pip install git+https://github.com/facebookresearch/[email protected] 2,pip install git+https://github.com/facebookresearch/[email protected]#subdirectory=projects/DensePose

Hi @jjandnn, does this solved the issue? I am looking to determine if this is the correct solution and have an answer in English.

Thanks in advance.

I had this issue and doing this solved it for me.

from vid2densepose.

Related Issues (11)

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.