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
Hi, I ran the code today and found that it reported the following error, the following error was reported, in utils.py line 195 in the code out = cv2.applyColorMap(np.uint8(out), cv2.COLORMAP_INFERNO) the error was reported as module 'cv2.cv2' has no attribute 'COLORMAP_INFERNO' I changed it to out = cv2.applyColorMap(np.uint8(out), cv2.COLORMAP_JET) and it doesn't report error. But the output image color changed. How to solve it?
The text was updated successfully, but these errors were encountered:
Hi, I ran the code today and found that it reported the following error, the following error was reported, in utils.py line 195 in the code out = cv2.applyColorMap(np.uint8(out), cv2.COLORMAP_INFERNO) the error was reported as module 'cv2.cv2' has no attribute 'COLORMAP_INFERNO' I changed it to out = cv2.applyColorMap(np.uint8(out), cv2.COLORMAP_JET) and it doesn't report error. But the output image color changed. How to solve it?
The text was updated successfully, but these errors were encountered: