Comments (6)
Compressed size is 172 MB now. Build and push to Docker Hub performed by Travis CI whenever develop is merged into master.
from photoprism.
I see. We use Tensorflow as a library for image classification. Doing this via rest means copying the contents (that are already in memory) to a different container via HTTP just to get some tag labels back. Can be done, but probably not very efficient. Also means maintaining another app as a server. There are (commercial) ready-to-use tensorflow based container images available for that though. Maybe worth an experiment if there is time. Not sure how small they are.
Our image certainly has to become smaller. Contains lots of dev only stuff right now.
from photoprism.
Yes, great idea. I guess we can remove lots of stuff from the development image related to TensorFlow and Python. It's there to experiment, but most of it is not used. But of course we need the TensorFlow model, HTML templates, JS & CSS code etc, so just a single binary is not enough.
Do you think it would work without any TensorFlow libs installed? I don't think so, but never tried.
from photoprism.
I don't know a thing about Photoprism, I just saw the project on github explore and wanted to gave a shot via docker. And I don't know a thing about Tensorflow either.
So, on a pure docker based point of view
- Static assets can be provided like the bin, copy from build container / sources
- If tensorflow in photoprism context can be used in a client/server way, it should. Then you can write a docker-compose.yml featuring "photoprism" your container, "tensorflow" for example https://hub.docker.com/r/tensorflow/tensorflow/.
from photoprism.
Working on this right now... There will be a development base image and one for production without any dev / build tools.
from photoprism.
Purrrfect, thanks !
from photoprism.
Related Issues (20)
- Setup: Improve docker-compose.yml inline docs for INIT and MARIADB_PASSWORD HOT 6
- Frontend: Upgrade MapLibre GL JS from v3.6 to v4.0
- MariaDB: Show info when waiting for the database to become available HOT 11
- Albums: Fix links to albums in the settings tab of the edit dialog HOT 11
- Indexed Image Names Differ From Original File Names
- Index: Create a new photo or find an existing one if the photo UID has been restored from a sidecar YAML file HOT 1
- Library: Live photo / video preview loading delay (1-2 seconds)
- Video: Allow streaming of all HEVC videos under Windows, e.g. by transcoding to AVC HOT 4
- WebDAV: Adding TrueNAS as a service for syncing files does not work HOT 2
- Idea: As a User, I would like to see the current upload speed of the file being uploaded in the iOS/Android app
- Support for Cryptomator FS under Windows HOT 1
- Setup: Provide ARMv7 installation packages HOT 1
- Develop: Upgrade base image to Ubuntu 24.04 LTS (Noble Numbat)
- task "convert" takes a very long time to sort through the already encoded files HOT 1
- Picture Handling: Use Archive to conveniently manage second priority pictures
- Docker Photoprism error after server reboot
- Stacks: Stack files by dc:identifier HOT 1
- UX : Add Favorites section to main navigation for users with role viewer
- Metadata: Support reading GPS information from xmp HOT 2
- Frontend: Direct Link to images in frontend HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photoprism.