gfxdisp/HDRutils

AttributeError: module 'numpy' has no attribute 'float128'

Closed this issue · 0 comments

I get this error on Windows:

Traceback (most recent call last):
  File "C:\Users\manti\Documents\projects\lf_capture\pipeline\main.py", line 121, in <module>
    merge_HDR_all(args.scene, args.sigma, args.beta, args.color_calibration,
  File "C:\Users\manti\Documents\projects\lf_capture\pipeline\merge.py", line 96, in merge_HDR_all
    HDRutils.imwrite(out_file, merged)
  File "C:\Users\manti\anaconda3\envs\lf_capture\lib\site-packages\HDRutils\io.py", line 79, in imwrite
    elif img.dtype in (np.float32, np.float64, np.float128):
  File "C:\Users\manti\anaconda3\envs\lf_capture\lib\site-packages\numpy\__init__.py", line 303, in __getattr__
    raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'float128'

I do not think that anyone would use float128 for pixel values, so I suggest removing this data type.