-
Notifications
You must be signed in to change notification settings - Fork 5
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
[PR] Deploying to fly.io
#5
Conversation
Codecov Report
@@ Coverage Diff @@
## main #5 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 28 28
=========================================
Hits 28 28
📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
…f it works." This reverts commit 555a5be.
This should be mergeable 👌 |
@LuchoTurtle the deployment files look good. 👌 When I tested it: https://imgai.fly.dev got internet timeout issues despite having a decent internet connection: imgai-fails-no-internet.movThe When it did "work", the following image: Was classified as a "Library": In fairness, there are enough books in the image that this is an "OK" classification. 💭 Could you bump the Model up to the biggest one available to maximise the chance of appropriate classification? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LuchoTurtle deployment docs look good. 👌
Please see: #6 🙏
closes #4
This should only be merged after #2
Deploys the app to
fly.io
(https://imgai.fly.dev/), creates a GH actions pipeline to automate the deployment and also adds a guide document.The app is currently deployed with a lightweight
ResNet-50
model (a fewMB
) on aDevelopment
machine. This is why it works. If I were to use a larger model likeBLIP
, I wager I'd run into memory issues. In fact, if I add a larger image, theLiveView
crashes because of memory issues - which makes sense, it only has 250MB ofRAM
and1GB
of storage.