adler-j / learned_gradient_tomography

Solving ill-posed inverse problems using iterative deep neural networks
87 stars 29 forks source link

AttributeError: module 'odl' has no attribute 'uniform_discr'. #6

Open Xyunxia opened 3 years ago

Xyunxia commented 3 years ago

Hi, I am learning your paper and code.

I installed ODL correctly according to the commands : '$ conda install -c odlgroup odl matplotlib pytest scikit-image spyder’, but when I run these program, I have this error message: space = odl.uniform_discr([-1, -1], [1, 1], [100, 100]) AttributeError: module 'odl' has no attribute 'uniform_discr'.

I'm sure that I have install discr. How can I solve it? I run these codes in pycharm. This is the specific information of some packages I installed. python 3.6.13
odl 0.7.0 numpy 1.19.5
By the way, the URL https://github.com/adler-j/odl/archive/tensorflow_support.zip is no longer accessible.

adler-j commented 3 years ago

Hello!

Sadly I don't have much time to maintain this library anymore, but I think LPD has somewhat more up to date instructions, see

https://github.com/adler-j/learned_primal_dual

Xyunxia commented 3 years ago

Thanks a lot for your prompt reply.