-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
有关依赖DensePose安装的建议(recommendations about reliable DensePose installation) #14
Comments
根據大佬提供的指令: |
Same issue here |
detectron2.这个包编译安装,要求:windows c++库你得装着。 |
需要装哪些c++运行库? |
after following the installation guide, when i run the app, got the error message: |
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. |
Maybe a bit late but tried the fix today. Working on Windows right now
if you get an error launching python app.py on site-packages\detectron2\data\transforms\transform.py line 46 change from LINEAR to BILINEAR and now works |
pip install git+https://github.com/facebookresearch/[email protected]#subdirectory=projects/DensePose
选择v0.6,而不是main,main在linux下没问题。但是windows下无法编译。
其次,提醒大家,cv2的typing目录下的__init__.py文件要修改严谨。
如:D:\anaconda3\Lib\site-packages\cv2\typing_init_.py
第68-83行所有的赋值都缺了单引号‘‘,不严谨,会报错,应该改成:
if numpy.lib.NumpyVersion(numpy.version) > "1.20.0" and sys.version_info >= (3, 9):
NumPyArrayGeneric = 'numpy.ndarray[typing.Any, numpy.dtype[numpy.generic]]'
else:
NumPyArrayGeneric = 'numpy.ndarray'
if numpy.lib.NumpyVersion(numpy.version) > "1.20.0" and sys.version_info >= (3, 9):
NumPyArrayFloat32 = 'numpy.ndarray[typing.Any, numpy.dtype[numpy.float32]]'
else:
NumPyArrayFloat32 = 'numpy.ndarray'
if numpy.lib.NumpyVersion(numpy.version) > "1.20.0" and sys.version_info >= (3, 9):
NumPyArrayFloat64 = 'numpy.ndarray[typing.Any, numpy.dtype[numpy.float64]]'
else:
NumPyArrayFloat64 = 'numpy.ndarray'
这样detectron2在windows上就没相关问题了。
The text was updated successfully, but these errors were encountered: