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
I'm not sure if this is because I have updated modules, I had to use command 'pip install "numpy<2.0.0" --force-reinstall' to downgrade numpy after getting the error '[numpy.dtype size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject'. I can't see any documentation in 'dev-requirements.txt' about what version each module is capable to run this program with.
mod.initialize(focal_length, aperture, distance, pixel_format=img.dtype, flags=lensfunpy.ModifyFlags.VIGNETTING | lensfunpy.ModifyFlags.TCA)
File "lensfunpy\_lensfun.pyx", line 855, in lensfunpy._lensfun.Modifier.initialize
KeyError: dtype('uint8')
The text was updated successfully, but these errors were encountered: