[Rtk-users] CudaImage not found in Python RTK

Simon Rit simon.rit at creatis.insa-lyon.fr
Fri Dec 17 00:01:52 EST 2021


Hi,
The pypi package does not have the Cuda option. Using cuda in wrapping
requires to compile it yourself, see INSTALLATION.md
<https://github.com/SimonRit/RTK/blob/master/INSTALLATION.md>.
Providing pypi packages cuda is a difficult task which we are still working
on...
Simon

On Fri, Dec 17, 2021 at 12:15 AM Zhang, Zhehao <zhehao.zhang at wustl.edu>
wrote:

> Dear all,
>
>
>
> I am using Python version RTK, through pip install:
>
> pip install itk
>
> pip install itk-rtk
>
>
>
> It works well when I run the test code (FirstReconstruction.py) on CPU,
> however, when I try to use GPU to accelerate, the test code (
> https://github.com/SimonRit/RTK/blob/master/examples/FirstReconstruction/FirstCudaReconstruction.py
> ) failed by giving me: module 'RTK' has no attribute 'CudaImage'.
>
>
>
> Actually, I can not load any RTK cuda filter using python right now, with
> the similar error. I cannot say for sure but this error seems come from
> itk. I’m using itk-5.1.2 and rtk-2.2.0 at the beginning, upgrade itk to
> 5.2.1 and rtk to 2.3.0 didn’t fix this. Do you have some suggestions about
> this issue? Appreciate for any help.
>
>
>
> Best,
>
> Zhehao
> _______________________________________________
> Rtk-users mailing list
> Rtk-users at public.kitware.com
> https://public.kitware.com/mailman/listinfo/rtk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/rtk-users/attachments/20211217/3022a2b3/attachment.htm>


More information about the Rtk-users mailing list