2 years ago
I'm trying to use Railway to host an image classifier.
Github: https://github.com/SeanHaight/inBloom_App
Deployment ID: 0477409d-73a1-4597-8ca7-1f626ca261ab
Project URL: https://inbloomapp-production.up.railway.app/
I can access the website fine but when I try to upload an image for classification the app does not perform as expected. The uploaded JPG should display on the page and the model should spit out a classification as flowering or not. When I test this on a local streamlit server the app is functional. In the deploy logs I get "container event container died" as the only potential error message. During build I get
"
2 warnings found (use --debug to expand):
Jul 16 09:53:55
- UndefinedVar: Usage of undefined variable '$NIXPACKS_PATH' (line 18)
Jul 16 09:53:55
LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 18).
"
I appreciate any help. Let me know if there is any additional information that I should include on this question.
1 Replies
2 years ago
You are on the trial plan and are therefore limited to 500MB of memory, it is likely that during image processing your app will attempt to use more than allowed.
Let me know if you continue to experience issues after upgrading to the Hobby plan and redeploying.