-
Notifications
You must be signed in to change notification settings - Fork 3
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
Impossible to start inference #121
Comments
The light page happens after you click Run inference, or directly after uploading the video? Can you inspect the browser's javascript console for any clues? Right click anywhere on the page, click Inspect, in the panel that opens click the Console tab. As for the server side errors you shared, they are likely not responsible for the issue here. Maybe there's a real error hiding there somewhere? |
@olivier-cuttlefish sorry for the frustrations - the streamlit interface can be frustrating sometimes. Another question - are you running the app locally or in the cloud? If locally, on linux or windows? In the meantime, you can bypass the user interface by running inference using some command line scripts (which are generally better in the long-term anyways): https://pose-app.readthedocs.io/en/latest/source/guides/inference_on_large_videos.html |
@ksikka Thank you for the rapid answers. Here is a screenshot of the log. I forgot to mention that I was using Firefox 132.0, Ubuntu 20.04. I run the app locally as I have my own GPU. EDIT: The video is around 200MB~, I run the app with upload up to 1GB. @themattinthehatt Thank you for your message. The inferences I ran on my dataset seemed to make the frustrations worth it though. I am indeed on the process to switch to the CLI. Best, |
Is it that same error all the way to the top of the console? The easiest thing is to try an incognito window to see if clearing the cookies fixes this. |
Also could you tell us if you're running the app on the same machine as the browser? If not, some of these could be the cause: |
Hello, I attached to this comment the full text file of the console log from when the app has started, and during which I load my project, upload my video, then try to click several times on the Run Inference button. All of that has been done using Firefox in Private Browsing mode (I made sure that Firefox would start by default in Private Browsing when the app started it). EDIT: Forgot to add that using the CLI I managed to run successfully inference on all of my videos. |
Glad you were able to get inference running from the command line 🎉 Would you mind looking at your exported console file again? All I see are a few lines about cookies being rejected, there are no app-related logs in there. Also, I have not tried running the app in firefox before - maybe try chrome? |
Hello, I just started using the models and the app. Thank you for it, the models work very great when it manages to run. Unfortunately the app is extremely buggy for me which makes it hard to accomplish any task. Right now, I have found myself in a situation where I cannot run inference anymore. After uploading a video, clicking on inference doesn't do anything, apart from repetitive "light" page refresh, looking like this:
In terms of error, it is hard to pinpoint any in particular because the console keep printing errors throughout the workflow and from my understanding they most have to be ignored.
Here are those I have right now:
The text was updated successfully, but these errors were encountered: