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

about install project (python setup.py build develop) ,error , python 3.9 pytorch 1.9 cuda 11.1 ,because when pip install requirement.txt need pytorch >=1.8.1,so i pip pyotrch 1.9 #6

Closed
zhanghongyong123456 opened this issue Oct 17, 2022 · 8 comments

Comments

@zhanghongyong123456
Copy link

image

@zhanghongyong123456 zhanghongyong123456 changed the title about install project (python setup.py build develop) ,error , python 3.9 pytorch 1.9 cuda 11.1 ,because when pip install requirement.txt need pytorch >=1.8.1 about install project (python setup.py build develop) ,error , python 3.9 pytorch 1.9 cuda 11.1 ,because when pip install requirement.txt need pytorch >=1.8.1,so i pip pyotrch 1.9 Oct 17, 2022
@stevewongv
Copy link
Owner

Please use PyTorch 1.8.1 first. I will investigate this next.

@stevewongv
Copy link
Owner

Oh sorry, I just find this is related to the issue aim-uofa/AdelaiDet#518. I think you should use PyTorch 1.11+. I will update the README.

@zhanghongyong123456
Copy link
Author

zhanghongyong123456 commented Oct 17, 2022

1.11+. I

my cuda version 11.1 ,so i can not install pytorch 1.11+, bucause no match cuda 11.1 ,and
don't use cudatoolkit in conda env ,because i find need use /usr/local/cuda/nvcc when build , so can i use https://github.com/aim-uofa/AdelaiDet/tree/master/adet replace our project adet? Finally, copy the .py file specific to our project(like register_soba.py file)

@zhanghongyong123456
Copy link
Author

1.11+. I

my cuda version 11.1 ,so i can not install pytorch 1.11+, bucause no match cuda 11.1 ,and don't use cudatoolkit in conda env ,because i find need use /usr/local/cuda/nvcc when build , so can i use https://github.com/aim-uofa/AdelaiDet/tree/master/adet replace our project adet? Finally, copy the .py file specific to our project(like register_soba.py file)

use replace https://github.com/aim-uofa/AdelaiDet/tree/master/adet/layers/csrc/ml_nms/ml_nms.cu replace our project adet ,it's ok ,when ce demo ,run demo.py
image
i not sure it's my conda env erroe or other error

@stevewongv
Copy link
Owner

You only need to replace the folder adet/layers/*

@zhanghongyong123456
Copy link
Author

You only need to replace the folder adet/layers/*
thank you very much
ok,it's run on python3.9 pytorch1.9 cuda11.1 ,have a few questions
1.Test my own video, some objects cannot be detected, how can I improve it?
2.What is the fps of our project, can it reach 4k real time?

@stevewongv
Copy link
Owner

You could email me for further discussion. I will close this issue first.

@ai1361720220000
Copy link

i meet the same question when torch=1.10

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