Hello, I am facing this error and no idea how to solve it or what it means.
This is the github: https://github.com/Nabil-Miri/mystreamlit
Hello, I am facing this error and no idea how to solve it or what it means.
Hi @Nabil-Miri, welcome to the forum!
That github URL doesn’t work for me – is that a private app?
My first suggestion, without having seen the app, is to try restarting the app, and if that doesn’t work, then try deleting and re-deploying. Can you see if either of those work?
Hello,
Sorry it was private and I made it public.
I tried restarting and deleting but same error.
It looks like it might be because of your dendron2 entry in requirements.txt – from what I’ve read, the official instructions aren’t to install from github, but from their custom index.
Can you try putting this in your requirements.txt instead?
--extra-index-url https://dl.fbaipublicfiles.com/detectron2/wheels/cu113/torch1.10/index.html
detectron2
I removed “detectron2” from the requirments and nothing changed:
BTW the same code have worked before using this git: GitHub - Nabil-Miri/streamlit_pytorch_detectron2: Streamlit an open source library used to make data apps really easily. In this I am trying to deploy a detectron2 pytorch model through streamlit
app: https://nabil-miri-streamlit-pytorch-detectron2-main-j6z86x.streamlit.app/
But when I cloned it, it didn’t work and the no such file error showed up.
Update: I have solved the issue by including ‘streamlib’ in the requirments.txt
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.