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

ModuleNotFoundError: No module named 'model' #22

Open
Cipherbunker opened this issue Aug 11, 2023 · 1 comment
Open

ModuleNotFoundError: No module named 'model' #22

Cipherbunker opened this issue Aug 11, 2023 · 1 comment

Comments

@Cipherbunker
Copy link

Cipherbunker commented Aug 11, 2023

ModuleNotFoundError: No module named 'model' in docker and running outside of docker cant seem to get it to see the models even when they are in the same directory as the server or manually pointing to the location by changing it in app.py not sure what I am doing wrong. works fine with default settings but I would like to run this locally

@dhrsal123
Copy link

Hey, i know its a little late but hope this helps
first copy the checkpoints/ folder and the models/ folder into the server/ folder and then try to re-run the app (python3 -m flask --app=server/app.py run --host=0.0.0.0)
dont forget to install the requirements too(pip install -r requirements.txt)

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