Open enrico-lattuada opened 2 months ago
When calculating the image structure function with the "cpp" and "cuda" cores, the following error message is returned
"cpp"
"cuda"
ValueError: resize only works on single-segment arrays
import fastddm as fd imgs = fd.read_images(...) dqt = fd.ddm(imgs, range(1,len(imgs)), core="cpp")
No response
C++, CUDA, Windows, Linux, macOS
Pip
0.3.10
3.12.4
Not a regression
The problem is due to an incompatibility between pybind11 2.10.0 and the new version of NumPy 2.0.0.
Description
When calculating the image structure function with the
"cpp"
and"cuda"
cores, the following error message is returnedReproducible example code
Input files
No response
Output
Expected output
No response
Platform
C++, CUDA, Windows, Linux, macOS
Installation method
Pip
FastDDM version
0.3.10
Python version
3.12.4
Additional context
No response
Is this a regression? Put the last known working version here if it is.
Not a regression