404 error persists after trying all fixes #1417
Replies: 8 comments 11 replies
-
I have tried with different models from the zoo as well, from -c models list |
Beta Was this translation helpful? Give feedback.
-
HI @davesimms44 , if you are using the released version of MONAI Label, such as 0.6.0.
then |
Beta Was this translation helpful? Give feedback.
-
Thanks so much. I had actually meant to post it in the bundle discussion
😅.
Shoukd I create an issue or will you?
Dave
…On Sun., Apr. 23, 2023, 7:32 p.m. tangy5, ***@***.***> wrote:
Just tried on Windows, I think I can reproduce the 404 error. We need to
report this to the MONAI Bundle folks. Let's create an issue there. Will
update us.
—
Reply to this email directly, view it on GitHub
<#1417 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXEPQ6ZGNEGBV5YONRCK5E3XCW3XHANCNFSM6AAAAAAXIZKPPM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Its fixed in latest rc version of monai.. so in that case you should either upgrade monai version or monailabel.. or let us know which versions of monai and monailabel are installed in your system And is this problem happening on one bundle or for any bundle? |
Beta Was this translation helpful? Give feedback.
-
Yes, I had thought it had been fixed! I am in fact using 0.6 in this
environment.
Will report back.
Thanks immensely.
…On Sun., Apr. 23, 2023, 7:38 p.m. SACHIDANAND ALLE, < ***@***.***> wrote:
Its fixed in laterc version of monai.. so in that case you should either
upgrade monai version or monailabel..
https://pypi.org/project/monailabel/0.7.0rc5/
or let us know which versions of monai and monailabel are installed in
your system
—
Reply to this email directly, view it on GitHub
<#1417 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXEPQ6ZH54YOSTS32COXKK3XCW4OVANCNFSM6AAAAAAXIZKPPM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
0.7.0rc5 fixed the problem. Command from the Quickstart guide was successful and the swin_unet model is downloading now. Thanks, Dave |
Beta Was this translation helpful? Give feedback.
-
If you are using lastest MONAI Label rc version, the token is optional, you don't need to provide it until you encounter a rate limit. Thanks for sharing it. Hope the workflow can help clinicians. In addition, we have a series of tutorials for beginners who'd like to try monailabel step by step. |
Beta Was this translation helpful? Give feedback.
-
Perfect. Thanks so much.
…On Sun., Apr. 23, 2023, 8:27 p.m. tangy5, ***@***.***> wrote:
If you are using lastest MONAI Label rc version, token is optional, you
don't need to provide it until you encounter a rate limit.
—
Reply to this email directly, view it on GitHub
<#1417 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXEPQ6ZTHKHYFQGL5FZ4WKTXCXCH5ANCNFSM6AAAAAAXIZKPPM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hello all,
I am having issues with MONAIBundle and the Github API -
401 Client Error: Unauthorized for url: https://api.github.com/repos/Project-MONAI/model-zoo/releases
also
404 Client Error: Not Found for url: https://api.github.com/repos/Project-MONAI%5Cmodel-zoo/releases
I have reinstalled using GIthub (rather than PyPi) as per this thread .
In that thread, fix 5775 is linked. This seems to suggest there is an error with the URL (that was fixed?), and i am unsure how to fix since it still wont work for me.
I can get access once, but the bundle will not work, and returns this error :
[2023-04-23 14:25:22,349] [12260] [MainThread] [ERROR] (uvicorn.error:119) - Traceback (most recent call last):
File "C:\Users\dave_\anaconda3\envs\MonaiGit\lib\site-packages\starlette\routing.py", line 635, in lifespan
async with self.lifespan_context(app):
File "C:\Users\dave_\anaconda3\envs\MonaiGit\lib\site-packages\starlette\routing.py", line 530, in aenter
await self.router.startup()
File "C:\Users\dave\anaconda3\envs\MonaiGit\lib\site-packages\starlette\routing.py", line 612, in startup
await handler()
File "C:\Users\dave_\anaconda3\envs\MonaiGit\lib\site-packages\monailabel\app.py", line 106, in startup_event
instance = app_instance()
File "C:\Users\dave_\anaconda3\envs\MonaiGit\lib\site-packages\monailabel\interfaces\utils\app.py", line 51, in app_instance
app = c(app_dir=app_dir, studies=studies, conf=conf)
File "C:\Users\dave_\apps\monaibundle\main.py", line 36, in init
self.models = get_bundle_models(app_dir, conf)
File "C:\Users\dave_\anaconda3\envs\MonaiGit\lib\site-packages\monailabel\utils\others\generic.py", line 274, in get_bundle_models
exit(-1)
File "C:\Users\dave_\anaconda3\envs\MonaiGit\lib_sitebuiltins.py", line 26, in call
raise SystemExit(code)
SystemExit: -1
[2023-04-23 14:25:22,349] [12260] [MainThread] [ERROR] (uvicorn.error:56) - Application startup failed. Exiting.
Once I get that error, I am unable to access the API to reproduce it unless I remove my auth token and reset that completely. Once I :struggle to reset the key and set it again, I can reproduce the above error once with this command or a similar one:
monailabel start_server --app monaibundle --studies Task09_Spleen/imagesTr --conf models swin_unetr_btcv_segmentation
than the very next start_server command loops me back to 404 errors.
I have scoured all available resources on Git,Slicer discourse, and docs, and can not find a fix for these issues. MONAILabel works fine.
Any help is appreciated.
Thanks, Dave
Beta Was this translation helpful? Give feedback.
All reactions