cvlab-stonybrook / SID

Official implementation for ICCV19 "Shadow Removal via Shadow Image Decomposition"
MIT License
97 stars 21 forks source link

Internal work array size computation failed: -5 #12

Closed EricStarer closed 2 years ago

EricStarer commented 3 years ago

when I compute param, I met this error, could you give me some help? cause I can't go on.

Intel MKL ERROR: Parameter 5 was incorrect on entry to DGESDD.
Traceback (most recent call last):
  File "data_processing/compute_params.py", line 89, in <module>
    Rpopt, pcov = curve_fit(relit, R_s, R_t,bounds=c_bounds)
  File "/data1/xing_zhao/anaconda3/lib/python3.7/site-packages/scipy/optimize/minpack.py", line 764, in curve_fit
    _, s, VT = svd(res.jac, full_matrices=False)
  File "/data1/xing_zhao/anaconda3/lib/python3.7/site-packages/scipy/linalg/decomp_svd.py", line 125, in svd
    compute_uv=compute_uv, full_matrices=full_matrices)
  File "/data1/xing_zhao/anaconda3/lib/python3.7/site-packages/scipy/linalg/lapack.py", line 700, in _compute_lwork
    "%d" % (info,))
ValueError: Internal work array size computation failed: -5
hieulem commented 3 years ago

Hi @EricStarer ,

Please see below the list of dependencies: dependencies.txt

smoharana-1 commented 3 months ago

solve this problem