-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenCV Error: Assertion failed ((lutcn == cn || lutcn == 1) && _lut.total() == 256 && _lut.isContinuous() #55
Comments
@jinfagang Have you solved it ? I'm also confusing. |
I got same problem, has anyone solved it or figured out why this happened? |
I got same problem ..... |
@wzhouuu @jinfagang |
I have met the same problem. And I have solved it. For me, the order of the last two input params is wrong. After exchanging them, the code is passed successfully. |
I met the same problem. Here, color_range = sm.to_rgba(np.linspace(0., 1., 255))[:, 0:3] is changed to |
I have met this error yet. For me, the cv image was saved as float and value scope was (0.0, 255.0). After astype(np.uint8), it works. |
convert into .astype("uint8") |
the order of parameters is wrong kindly change it todst = cv2.fastNlMeansDenoising(img, None, 30, 7, 21) |
I kick it quick start by using the trained model provide in model zoo, but there is an opencv error, really confusing:
Any possiable reason for this?
The text was updated successfully, but these errors were encountered: