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

can't run the UI #157

Open
ganzon opened this issue Dec 9, 2024 · 2 comments
Open

can't run the UI #157

ganzon opened this issue Dec 9, 2024 · 2 comments

Comments

@ganzon
Copy link

ganzon commented Dec 9, 2024

After this command "python app.py" the following message show up.

D:\AI\OmniGen\app.py:229: SyntaxWarning: invalid escape sequence '\/'
  "<img><|image_1|><\/img> What item can be used to see the current time? Please highlight it in blue.",
D:\AI\OmniGen\app.py:271: SyntaxWarning: invalid escape sequence '\<'
  description = """
Traceback (most recent call last):
  File "D:\AI\OmniGen\app.py", line 9, in <module>
    from OmniGen import OmniGenPipeline
  File "D:\AI\OmniGen\OmniGen\__init__.py", line 1, in <module>
    from .model import OmniGen
  File "D:\AI\OmniGen\OmniGen\model.py", line 3, in <module>
    import torch
ModuleNotFoundError: No module named 'torch'

@able2608
Copy link

able2608 commented Dec 9, 2024

Please follow the instructions provided below (in the README.md file) and install all required libraries before running the demo. The error you get simply means that the required library torch is not installed or not installed properly. If you have follow the installation instructions before, please uninstall torch (via pip or conda, depending on how you did it) and reinstall it again to fix improper installation.
https://github.com/VectorSpaceLab/OmniGen?tab=readme-ov-file#5-quick-start

@ganzon
Copy link
Author

ganzon commented Dec 10, 2024

I deleted the wold Omnigen, and did all over again step by step. After follow the exact step in the link provided, after I enter "python app.py" this is showing

Traceback (most recent call last):
  File "D:\AI\OmniGen\app.py", line 9, in <module>
    from OmniGen import OmniGenPipeline
  File "D:\AI\OmniGen\OmniGen\__init__.py", line 1, in <module>
    from .model import OmniGen
  File "D:\AI\OmniGen\OmniGen\model.py", line 9, in <module>
    from diffusers.loaders import PeftAdapterMixin
ModuleNotFoundError: No module named 'diffusers'

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