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

Problems about correlation_cuda #9

Open
BruceChen15 opened this issue May 17, 2022 · 5 comments
Open

Problems about correlation_cuda #9

BruceChen15 opened this issue May 17, 2022 · 5 comments

Comments

@BruceChen15
Copy link

當我要執行evaluate_calib.py時,顯示No module named 'correlation_cuda'
於是我去了models/correlation_package/ 的資料夾執行python3 setup.py build
結果有bug 如error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’
請問有任何相關經驗或是建議嗎
謝謝

@WJ1214
Copy link

WJ1214 commented Jun 2, 2022

當我要執行evaluate_calib.py時,顯示No module named 'correlation_cuda' 於是我去了models/correlation_package/ 的資料夾執行python3 setup.py build 結果有bug 如error: mismatched argument pack lengths while expanding ‘std::is_convertible<_UElements&&, _Elements>’ 請問有任何相關經驗或是建議嗎 謝謝

可以在github上搜索CMRNet这个项目,LCCNet这个项目的大部分代码来自于CMRNet,有任何correlation模块的编译问题可以问CMRNet的作者

@callzhang
Copy link

这里编译了一个本地库:"correlation_package"(-e ./models/correlation_package)。因为pyproject.toml使用的torch文件比较古老,不能匹配本地cuda版本,同时会下载一个版本安装,会非常慢,因此我这里使用pip install -e ./models/correlation_package --no-build-isolation这个选项使得编译环境使用本地环境。参考文档

@StiphyJay
Copy link

1.rm -rf correlation_cuda.cpython-36m-x86_64-linux-gnu.so 2. rebuild this package. 3. work!

@AlexGXW
Copy link

AlexGXW commented May 7, 2024

1.rm -rf correlation_cuda.cpython-36m-x86_64-linux-gnu.so 2. rebuild this package. 3. work!

同样的问题,请问您是如何rebuild的?

@yulongg1
Copy link

1.rm -rf correlation_cuda.cpython-36m-x86_64-linux-gnu.so 2. rebuild this package. 3. work!

同样的问题,请问您是如何rebuild的?

https://github.com/callzhang/LCCNet 我是根据这个搞定的

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

6 participants