Closed LuchoTurtle closed 10 months ago
Merging #5 (211d580) into main (888ddaf) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## main #5 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 28 28
=========================================
Hits 28 28
Files | Coverage Ξ | |
---|---|---|
lib/app_web/live/page_live.ex | 100.00% <100.00%> (ΓΈ) |
:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!
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:
https://github.com/dwyl/image-classifier/assets/194400/59f41b8b-1051-4b1f-a0eb-3d682b91819b
The LiveView
connection shouldn't block the image classification. π
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? Ref: https://github.com/dwyl/image-classifier/issues/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.