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

Server Error: {"detail":"Not Found"} #3

Open
yourwanghao opened this issue Apr 11, 2023 · 1 comment
Open

Server Error: {"detail":"Not Found"} #3

yourwanghao opened this issue Apr 11, 2023 · 1 comment

Comments

@yourwanghao
Copy link

I encounter a strange issue, would you please help me?
After I start the server, the web page show:

{"detail":"Not Found"}

The Detail Info:


Hardware: Apple M2 Max, 96GB
OS: macOS 13.3.1 (22E261)
Software Envirement:

Python 3.10.0
Pytorch: 2.0.0
TorchVision: 0.15.0
uvicorn: 0.21.1
fastapi: 0.95.0

I start the server by:

(segmentanything) ➜ SegDrawer git:(main) ✗ python server.py

The terminal output:

Loading model
Finishing loading
INFO:     Started server process [35545]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://127.0.0.1:7863 (Press CTRL+C to quit)
INFO:     127.0.0.1:64855 - "GET / HTTP/1.1" 404 Not Found

And the web page shows:

{"detail":"Not Found"}
@lujiazho
Copy link
Owner

I've updated the server for accessing "/" path. Now you can access the http://127.0.0.1:8080 directly. Before you have to open the .html file manually.

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