Closed paskino closed 6 years ago
Linux call has the same problem.
The output is expected to be a list with an array of shape (512,512) inside. What I get is a list with 512 vectors of length 512 (TO BE TESTED).
which regularizer is this? How can I test it from Python? I guess I need to compile the regularizers somehow?
These are the CPU regularizers.
To compile:
export CIL_VERSION=0.9.1
conda build recipes/regularizers --numpy 1.12 --python 3.5
conda install cil_regularizer=0.9.1 --use-local --force
conda build conda-recipe --numpy 1.12 --python 3.5
conda install ccpi-regularizer=0.9.1 --use-local --force
There is a test script for the regularizers in test
: test_regularizers.py
. Just adjust the location of Lena image.
To build the FISTA Python implementation (regularizers won't work!)
conda build fista-recipe --numpy 1.12 --python 3.5
conda install ccpi-fista=0.9.1 --use-local --force
Notice that there isn't any dependency check when installing local packages (and moreover with --force
)
Windows build seems to be invoked in a thread and returns strange values.