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

Feature x is required but not specified. #14

Open
shohe opened this issue Jan 22, 2024 · 2 comments
Open

Feature x is required but not specified. #14

shohe opened this issue Jan 22, 2024 · 2 comments

Comments

@shohe
Copy link

shohe commented Jan 22, 2024

Hi @ynagatomo, thank you for the great work.

First off, I'm pretty new to CoreML, so if I've misunderstood the process in the README, I apologize for that.

I've been trying to use the image-to-image feature to generate images, but it hasn't worked yet. I followed the same steps for installation as in the README, but when I tap "Generate", an error shows up in the console. It says Feature x is required but not specified.

It seems to crash on this line (see image):
Screenshot 2024-01-22 at 17.32.18

My directory structure is like this:
Screenshot 2024-01-22 at 17.34.16

What do you think might have caused this?

@ynagatomo
Copy link
Owner

I quickly checked it just now. It works with stable-diffusion 0.3.0. But it doesn't work with the latest stable-diffusion 1.1.0.
Your trouble may be due to stable-diffusion version, or the CoreML model which should support image-to-image, or conversion settings such as CPU/GPU/ANE.
Screenshot 2024-01-22 at 18 01 50

@shohe
Copy link
Author

shohe commented Jan 23, 2024

I used version 0.3.0, but when I tried 1.1.0, it worked.
Although some warnings appeared, I can now move forward again. Thank you.

For your reference, my environment is:

  • Apple M2 (Ventura 13.5.2)
  • Xcode 15.0.0
  • Simulator: iPhone 15 (iOS 17.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants