xiawj-hub / CTLIB

A lib of CT projector and back-projector based on PyTorch
MIT License
39 stars 6 forks source link

版本问题 #7

Open Xiao-yang12 opened 1 year ago

Xiao-yang12 commented 1 year ago

您好 有段代码用到CTLIB库的旧版本,目前版本的与代码不适配(在fbp上),冒昧请问旧版本是否能分享安装? ![Uploading IMG_3485(20221009-110709).JPG…]()

IMG_3486(20221009-110711)

xiawj-hub commented 1 year ago

你好,旧版本代码已经没有了,这里的1是指的scanning type,可以参照github的说明加进到option tensor中

Best

Wenjun

From: Xiao-yang12 @.> Sent: Sunday, October 9, 2022 00:06 To: xwj01/CTLIB @.> Cc: Subscribed @.***> Subject: [xwj01/CTLIB] 版本问题 (Issue #7)

您好 有段代码用到CTLIB库的旧版本,目前版本的与代码不适配(在fbp上),冒昧请问旧版本是否能分享安装?

https://user-images.githubusercontent.com/108522622/194737451-40e42eb3-5b88-4926-86e4-b5307f130afe.JPG

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/AJRVWQLN47FFCK44IFAAYT3WCJADHA5CNFSM6AAAAAARAQUJPSWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHFHEX7XU.gif Message ID: @.***>

zlbbme commented 1 year ago

你好:我也是复现MISTnet 的时候出现的这个错误,你最后是怎么解决的这个错误呢?我是直接删除了那个“1”,不知道是不是可以这样? 后期出现了报错: IndexError: select(): index 10 out of range for tensor of size [10] at dimension 0 查到“fbp_ea_kernel.cu”中定义的 fbp_fan_ea_cuda()中定义了一个“Ang0”,但是在”modelMISTnet.py“中没有”Ang0“这个参数,添加过后可以正常训练。但是”Ang0“这个参数是何作用并如何设置并不清楚。

xiawj-hub commented 1 year ago

Ang0是指投影角的初始点

From: zlbbme @.> Sent: Wednesday, January 18, 2023 4:11 AM To: xwj01/CTLIB @.> Cc: xwj01 @.>; Comment @.> Subject: Re: [xwj01/CTLIB] 版本问题 (Issue #7)

你好:我也是复现MISTnet 的时候出现的这个错误,你最后是怎么解决的这个错误呢?我是直接删除了那个“1”,不知道是不是可以这样? 后期出现了报错: IndexError: select(): index 10 out of range for tensor of size [10] at dimension 0 查到“fbp_ea_kernel.cu”中定义的 fbp_fan_ea_cuda()中定义了一个“Ang0”,但是在”modelMISTnet.py“中没有”Ang0“这个参数,添加过后可以正常训练。但是”Ang0“这个参数是何作用并如何设置并不清楚。

— Reply to this email directly, view it on GitHub https://github.com/xwj01/CTLIB/issues/7#issuecomment-1386719446 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRVWQKOVK3V4FNI575IIQTWS6XQZANCNFSM6AAAAAARAQUJPQ . You are receiving this because you commented. https://github.com/notifications/beacon/AJRVWQM74WAMOJUMM7ZGSVTWS6XQZA5CNFSM6AAAAAARAQUJPSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSSU6UNM.gif Message ID: @. @.> >

xiawj-hub commented 1 year ago

可以设到-2pi到2pi中的值,具体看你需求

From: zlbbme @.> Sent: Wednesday, January 18, 2023 4:11 AM To: xwj01/CTLIB @.> Cc: xwj01 @.>; Comment @.> Subject: Re: [xwj01/CTLIB] 版本问题 (Issue #7)

你好:我也是复现MISTnet 的时候出现的这个错误,你最后是怎么解决的这个错误呢?我是直接删除了那个“1”,不知道是不是可以这样? 后期出现了报错: IndexError: select(): index 10 out of range for tensor of size [10] at dimension 0 查到“fbp_ea_kernel.cu”中定义的 fbp_fan_ea_cuda()中定义了一个“Ang0”,但是在”modelMISTnet.py“中没有”Ang0“这个参数,添加过后可以正常训练。但是”Ang0“这个参数是何作用并如何设置并不清楚。

— Reply to this email directly, view it on GitHub https://github.com/xwj01/CTLIB/issues/7#issuecomment-1386719446 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRVWQKOVK3V4FNI575IIQTWS6XQZANCNFSM6AAAAAARAQUJPQ . You are receiving this because you commented. https://github.com/notifications/beacon/AJRVWQM74WAMOJUMM7ZGSVTWS6XQZA5CNFSM6AAAAAARAQUJPSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSSU6UNM.gif Message ID: @.***>