-
Notifications
You must be signed in to change notification settings - Fork 82
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
Error::!ssize.empty() in function 'cv::resize' #11
Comments
Greetings @Gogul09 , I am using the code but on a different dataset with 100 images and i have that error this is coming out after running the code. Is it possible to have your support, sorry for the disturbance. |
did u solve the issue? |
hey make sure all your images(100) are numbered (from 1-100). Also make sure to change images_per_class accordingly in the code. |
Hey there, each class of my dataset consists of images that I have arranged
in ascending order. I have about 6000 images in each class. But even after
I arranged all the images from 1-6000 I still get this error. Can u please
elaborate how u solved this issue?
…On Wed, 6 May, 2020, 8:36 pm antaovanessa1, ***@***.***> wrote:
Greetings @Gogul09 <https://github.com/Gogul09> , I am using the code but
on a different dataset with 100 images and i have that error this is coming
out after running the code. Is it possible to have your support, sorry for
the disturbance.
did u solve the issue?
hey make sure all your images(100) are numbered (from 1-100). Also make
sure to change images_per_class accordingly in the code.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJSA4MQ2PTKDDBSZRHSYPH3RQF4IHANCNFSM4J6O4MWA>
.
|
Make sure all the images are of jpg format
On Thu, 2 Jul 2020 at 10:52 PM, nirupamudoi <[email protected]>
wrote:
… Hey there, each class of my dataset consists of images that I have arranged
in ascending order. I have about 6000 images in each class. But even after
I arranged all the images from 1-6000 I still get this error. Can u please
elaborate how u solved this issue?
On Wed, 6 May, 2020, 8:36 pm antaovanessa1, ***@***.***>
wrote:
> Greetings @Gogul09 <https://github.com/Gogul09> , I am using the code
but
> on a different dataset with 100 images and i have that error this is
coming
> out after running the code. Is it possible to have your support, sorry
for
> the disturbance.
>
> did u solve the issue?
>
> hey make sure all your images(100) are numbered (from 1-100). Also make
> sure to change images_per_class accordingly in the code.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <
#11 (comment)
>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AJSA4MQ2PTKDDBSZRHSYPH3RQF4IHANCNFSM4J6O4MWA
>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APIODDYTIHVWO7WAJRT5BF3RZS65VANCNFSM4J6O4MWA>
.
|
Make sure all your images are of the same format (.jpg) |
Code::
read the image and resize it to a fixed-size
image = cv2.imread(file)
image = cv2.resize(image, fixed_size)
Error:::
error Traceback (most recent call last)
in
1 # read the image and resize it to a fixed-size
2 image = cv2.imread(file)
----> 3 image = cv2.resize(image, fixed_size)
error: OpenCV(4.1.1) C:\projects\opencv-python\opencv\modules\imgproc\src\resize.cpp:3720: error: (-215:Assertion failed) !ssize.empty() in function 'cv::resize'
The text was updated successfully, but these errors were encountered: