Skip to content
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

3090环境配置问题 #37

Open
622tongtong opened this issue Mar 28, 2023 · 6 comments
Open

3090环境配置问题 #37

622tongtong opened this issue Mar 28, 2023 · 6 comments

Comments

@622tongtong
Copy link

3090配置到setup.py出现‘RuntimeError: Error compiling objects for extension’;
pytorch版本:torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0
其他需要安装的包安装无误
请问是因为torch版本的问题吗?还是其他原因呢?

@langxiujuan
Copy link

要换成和他install一样的pytoch版本吧,我安装其他版本的都有问题

@622tongtong
Copy link
Author

谢谢(ಥ _ ಥ),我最后是修改了setup对应包里面的一些命令,来匹配1.9.0也是可以滴

@langxiujuan
Copy link

langxiujuan commented Jun 19, 2023 via email

@622tongtong
Copy link
Author

setup.py下面需要编译一些包,例如,make_cuda_ext(
name='box_iou_rotated_cuda',
module='mmdet.ops.box_iou_rotated',
sources=['src/box_iou_rotated_cpu.cpp', 'src/box_iou_rotated_cuda.cu']),
这里面的一些.cu文件.cpp文件有一些语句是低版本的pytorch对应的,需要修改为高版本的,所有的都要排查,具体是哪些语句我没有记录下来,也是在网上找的,你可以在setup的时候看错误信息,然后按照错误信息在网上搜,可以搜得到的。

@945943307
Copy link

那你是怎么改的啊?可以给我看看的setup.py都改了什么吗?我是新手,谢谢 西兰花 @.***  

------------------ 原始邮件 ------------------ 发件人: "LiWentomng/OrientedRepPoints" @.>; 发送时间: 2023年6月19日(星期一) 中午11:19 @.>; @.@.>; 主题: Re: [LiWentomng/OrientedRepPoints] 3090环境配置问题 (Issue #37) 谢谢(ಥ _ ಥ),我最后是修改了setup对应包里面的一些命令,来匹配1.9.0也是可以滴 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

请问你弄好了吗?能不能给我分享下

@622tongtong
Copy link
Author

622tongtong commented Aug 2, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants