We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AttributeError Traceback (most recent call last) Input In [22], in on_upload_change(change) 10 global selected_img 11 selected_img = cv2.imread(str(list(ImgUpload.value.keys())[0]), 0) ---> 12 selected_img = selected_img.reshape(selected_img.shape[0], selected_img.shape[1], 1) 14 image_before = Image(value=uploaded_file, width=256, height=256) 16 file = open("No-filter.png", "rb")
AttributeError: 'NoneType' object has no attribute 'reshape'
I did install all the requirements, but unable to upload any images
The text was updated successfully, but these errors were encountered:
Does the issue still exist?
Sorry, something went wrong.
mahmoudai1
No branches or pull requests
AttributeError Traceback (most recent call last)
Input In [22], in on_upload_change(change)
10 global selected_img
11 selected_img = cv2.imread(str(list(ImgUpload.value.keys())[0]), 0)
---> 12 selected_img = selected_img.reshape(selected_img.shape[0], selected_img.shape[1], 1)
14 image_before = Image(value=uploaded_file, width=256, height=256)
16 file = open("No-filter.png", "rb")
AttributeError: 'NoneType' object has no attribute 'reshape'
I did install all the requirements,
but unable to upload any images
The text was updated successfully, but these errors were encountered: