Coder Social home page Coder Social logo

Tagging takes forever about recognize HOT 13 CLOSED

nextcloud avatar nextcloud commented on July 24, 2024
Tagging takes forever

from recognize.

Comments (13)

marcelklehr avatar marcelklehr commented on July 24, 2024 1

The tagging speed depends on your hardware performance specs and the amount of images you have. Raspi and 1TB of images is gonna take a while.

from recognize.

marcelklehr avatar marcelklehr commented on July 24, 2024

it is stuck with tagging only one use and not all.

I'm not sure I understand you

from recognize.

derritter88 avatar derritter88 commented on July 24, 2024

In my Nextcloud log I see randomly a line saying "regonize for user xxx" but it stuckt with this single user.
No other user is being used.

from recognize.

marcelklehr avatar marcelklehr commented on July 24, 2024

Do you see tags being added? If tags are being added, then that's as fast as it can go in a background task. I'm working on a cli command that will do everything at once.

from recognize.

derritter88 avatar derritter88 commented on July 24, 2024

Do you see tags being added? If tags are being added, then that's as fast as it can go in a background task. I'm working on a cli command that will do everything at once.

I just had a look at the "real" log -> nextcloud.log and not just the online log display.
I can see that there is a progress - slowly but working.

Regarding hardware specs:
VM
24 GB RAM
8 cores (Epyc 7272)
~ 700 GB cloud storage

So I guess I just need to wait.

from recognize.

derritter88 avatar derritter88 commented on July 24, 2024

Just for info: The GUI says `

Warning recognize Classifying photos of user mhepp

`

from recognize.

marcelklehr avatar marcelklehr commented on July 24, 2024

v1.3 now comes with a command line interface that allows running the classifier on full speed.

from recognize.

derritter88 avatar derritter88 commented on July 24, 2024

Thanks for the information - will do the update right now!

May I ask: Is this application only using the CPU or is it also able to use an existing GPU?

from recognize.

marcelklehr avatar marcelklehr commented on July 24, 2024

It currently only uses CPU. But by default the cli will use all your CPUs, you can however also set a custom amount of CPUs.

from recognize.

marcelklehr avatar marcelklehr commented on July 24, 2024

The admin user has access to a tag called "Tagged by recognize" to know which photos have been processed.

from recognize.

derritter88 avatar derritter88 commented on July 24, 2024

It currently only uses CPU. But by default the cli will use all your CPUs, you can however also set a custom amount of CPUs.

Would be great if this application would be able to use a GPU.
May I ask which php library your application uses?

Regarding cli: Is it better to create a dedicated cronjob for having the photo recognized or could this be done via the regular Nextcloud cronjob?

from recognize.

derritter88 avatar derritter88 commented on July 24, 2024

@marcelklehr regarding my library question:
Unfortunately I am not so deep into development - just remembered some Java stuff I have "developed" at high school.

May I just ask if pdlib would be suitable for this application?
https://github.com/goodspb/pdlib

from recognize.

marcelklehr avatar marcelklehr commented on July 24, 2024

Is it better to create a dedicated cronjob for having the photo recognized or could this be done via the regular Nextcloud cronjob?

I think the point of the cli is to do the initial bulk of photo classification, while the background job should be able to handle new photos as they are uploaded. If the background job is not enough, you can schedule the cli to run every night perhaps.

Would be great if this application would be able to use a GPU.

It's definitely possible, you can open a new issue for that.

May I ask which php library your application uses?

I'm using tensorflow-js running inside Node.js.

from recognize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.