Skip to content
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

For Generated image > Getting Error: Input data is not a valid image. #707

Open
1 task done
qasumitbagthariya opened this issue Feb 9, 2024 · 2 comments
Open
1 task done
Assignees
Labels
needs:feedback This requires reporter feedback to better understand the request. type:bug Something isn't working.

Comments

@qasumitbagthariya
Copy link

Describe the bug

If we generate image using classifai feature and try to generate Descriptive text,Image tags, Smart thumbnail, Scan image for text is not getting generate.

Steps to Reproduce

  1. Goto media > Generated image
  2. Generate any one image and Import in to media library
  3. Goto attachment details and try to click and generate (Descriptive text,Image tags, Smart thumbnail, Scan image)
  4. See error

Screenshots, screen recording, code snippet

Screenshot at Feb 09 19-57-03
Generate_image_scan not working
genrated-image-issue

Environment information

  • WordPress: 6.4.3
  • Theme: Twenty TwentyVersion: 2.5
  • WooCommerce - 8.5.2
  • PHP: 8.0.30
  • Web Server: Nginx 1.20.2
  • Browser: Chrome
  • OS: macOS Ventura 13.3

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@qasumitbagthariya qasumitbagthariya added the type:bug Something isn't working. label Feb 9, 2024
@dkotter dkotter added this to the Future Release milestone Feb 9, 2024
@Sidsector9 Sidsector9 self-assigned this Apr 1, 2024
@Sidsector9
Copy link
Member

@qasumitbagthariya I am unable to reproduce this issue. I generated the image using OpenAI Dall.E and then used MS Azure Vision to generate image description and image tags.

Please watch the video below:

Image description generation

classifai-issue-707.mov

Image tags generation

classifai-issue-707-2.mp4

@Sidsector9 Sidsector9 added the needs:feedback This requires reporter feedback to better understand the request. label Apr 1, 2024
@Sidsector9
Copy link
Member

I am able to reproduce this issue on an instawp site. However, this issue is also occurring for some images that I am uploading manually.

For example:

  • dog – does not work for this image.
  • rhino – works for this image.

Locally with ngrok, it works in every case. @qasumitbagthariya @QAharshalkadu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs:feedback This requires reporter feedback to better understand the request. type:bug Something isn't working.
Projects
Status: In Progress
Development

No branches or pull requests

3 participants