I’m new to this so forgive me if this is an overly simple question. I’m trying to deploy a model for classifying chromosomal abnormalities, but the “*.h5” file is not loading properly when I deploy via the cloud; it produces a FileNotFound Error. However, when I deploy the app locally it works as expected (see screenshots).
I’m thinking it might have to do with the fact that the model weights are managed by Git LFS. Anyone know if this idea makes sense or have any other clues why it might be working in my local environment and not from the repo? The model file was successfully pushed to my repo.
Hey, I appreciate you taking a look. No need to apologize. This is my first web app and I know it’s crude. It’s these kind of exchanges that will motivate me to become better. Got any favorite resources or developers to check out to learn from?
BTW, I reverted streamlit_app.py to try and load the model via git lfs (rather than with DropBox) but when I am still getting this error that indicates my model is not being downloaded by the streamlit app successfully.
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
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.
Performance cookies
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.
Functional cookies
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.
Targeting cookies
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.