You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, @adler-j . I tried to run the following code with ODL in ubuntu 16.04 with python3.6. The original geometry I find in your public code for Learned Primal Dual used was FanFlat, which is now not an available attribute, so I changed it into FanBeam, but the error shown in the attached picture occurred. I am not sure how to solve it. Appreciate it if you can offer any advice!
Hello, @adler-j . I tried to run the following code with ODL in ubuntu 16.04 with python3.6. The original geometry I find in your public code for Learned Primal Dual used was FanFlat, which is now not an available attribute, so I changed it into FanBeam, but the error shown in the attached picture occurred. I am not sure how to solve it. Appreciate it if you can offer any advice!
#############################
import numpy as np
import odl
size = 512
space = odl.uniform_discr([-128, -128], [128, 128], [size, size],
dtype='float32')
angle_partition = odl.uniform_partition(0, 2 * np.pi, 60)
detector_partition = odl.uniform_partition(-360, 360, 736)
geometry = odl.tomo.FanFlatGeometry(angle_partition, detector_partition,
src_radius=500, det_radius=500)
ray_trafo = odl.tomo.RayTransform(space, geometry)
#############################
The text was updated successfully, but these errors were encountered: