GithubHelp home page GithubHelp logo

Comments (10)

lucasjinreal avatar lucasjinreal commented on June 11, 2024

为什么只允许1.7, 这个周末我适配一下看看

from dcnv2_latest.

nostayup avatar nostayup commented on June 11, 2024

就是编译那一大段输出中会有报一些错,dcn_v2_cpu.o这个文件生成失败。我摘出来一部分:
2_cpu.cpp:82:9: error: ‘THFloatBlas_gemm’ was not declared in this scope

ninja: build stopped: subcommand failed.

File "/home/user/anaconda3/envs/bgmatting/lib/python3.7/site-packages/torch/ut ils/cpp_extension.py", line 1238, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/user/anaconda3/envs/bgmatting/lib/python3.7/site-packages/torch/ut ils/cpp_extension.py", line 1538, in _run_ninja_build
raise RuntimeError(message) from e

from dcnv2_latest.

nostayup avatar nostayup commented on June 11, 2024

为什么只允许1.7, 这个周末我适配一下看看

看到一篇帖子是解决这个问题的,但是我照着做了之后惨遭失败,不知道是否对你有帮助
https://blog.csdn.net/qq_36810544/article/details/110197821

from dcnv2_latest.

nostayup avatar nostayup commented on June 11, 2024

CharlesShang/DCNv2#92
这里有一个解决方案,亲测可用

from dcnv2_latest.

caiduoduo12138 avatar caiduoduo12138 commented on June 11, 2024

我还是编译不过去
Python3.7
cuda11+torch1.7
还是显示不支持compute_x86
你怎么搞得
你Torch怎么装的?conda还是pip 给终端代码,我再试试

from dcnv2_latest.

nostayup avatar nostayup commented on June 11, 2024

我还是编译不过去
Python3.7
cuda11+torch1.7
还是显示不支持compute_x86
你怎么搞得
你Torch怎么装的?conda还是pip 给终端代码,我再试试

就是正常的pytorch上面装cuda11.0的那个conda命令行,cuda就装了11.1,然后就直接编译了

from dcnv2_latest.

caiduoduo12138 avatar caiduoduo12138 commented on June 11, 2024

我pip和conda 都试了,不行
要不你发一下你的安装命令行,我试试,可能我的安装姿势不对
谢谢

from dcnv2_latest.

nostayup avatar nostayup commented on June 11, 2024

我pip和conda 都试了,不行
要不你发一下你的安装命令行,我试试,可能我的安装姿势不对
谢谢

conda install pytorch torchvision torchaudio cudatoolkit=11.0 -c pytorch

from dcnv2_latest.

hhcs9527 avatar hhcs9527 commented on June 11, 2024

add export TORCH_CUDA_ARCH_LIST="8.0 + PTX"

from dcnv2_latest.

lucasjinreal avatar lucasjinreal commented on June 11, 2024

@hhcs9527 @nostayup @caiduoduo12138 Pytorch 1.7 was supported on master branch.

Theoretically would also works on lower or higher version. If not pls open a new issue.

from dcnv2_latest.

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.