aimh-lab / visione Goto Github PK
View Code? Open in Web Editor NEWAn AI-powered interactive video retrieval system
Home Page: https://visione.isti.cnr.it/
License: European Union Public License 1.2
An AI-powered interactive video retrieval system
Home Page: https://visione.isti.cnr.it/
License: European Union Public License 1.2
Videos pre-processed for use during feature extraction are kept in the collection folder (named temp-videos-for-video-extraction
)
If not in development mode, remove them (maybe create them as temporary files)
We have to decide a License and provides a list of dependencies
visione/visione/services/common/extractor.py
Line 143 in 36cf0db
These two classes that orchestrate feature extraction from frames and videos share most of the functionalities, and the former can be generalized in the latter.
abbassare la quantizzazione da 7 secondi a 3 secondi
Abbassare l’intervallo da21 a 12 secondi
This should simplify managing the indices that should be loaded when serving:
Something like:
visione analyze --replace features-clip-laion
visione index --replace lucene-index
visione index --replace --from lucene-documents
Boolean doALADIN=queryObj.getParameters().get("textualMode").indexOf("al") >= 0;
should be
Boolean doALADIN=queryObj.getParameters().get("textualMode").indexOf("ala") >= 0;
as also "all" start with "al"
This in not a real issue as doALADIN should be True also when textualMode="aladin", but may worth to fix it
We should add a .convert('RGB')
here or similar.
sarebbe bello avere l'import per tutti i video di una cartella ,
visione/index/str-object-encoder/encode.py
Line 176 in 9bed484
dopo il for va ggiunto
token = f'4wc{label}{label_count_generale_non_divisa_per_rete}{4}'
tokens.append(token)
NB la label_count_generale_non_divisa_per_rete non comprende gli hyperset
The upload of image is not working - to be solved also in VISIONE RAI
As of now, text extraction at query time is performed on GPU. Change to CPU
visione/visione/services/common/extractor.py
Line 171 in b09e409
ffmpeg inside multiprocessing causes some unwanted deadlock (at random points during the extraction)
As of now, this is patched in 1c9d63d by setting parallel=False
PROs:
CONs:
Bulk insertion of 100k 1024-d vectors took 5.6198 seconds.
Reading out 100k 1024-d vectors took 2.3810 seconds.
Configurazione testata:
Docker version 20.10.21, build 20.10.21-0ubuntu1~20.04.2
docker-compose version 1.25.0
Python 3.8.10
All'esecuzione del comando "visione" con qualsiasi parametro, ricevo l'errore
File "visione", line 8, in
sys.exit(main.main())
File "python3.8/site-packages/visione/cli/main.py", line 12, in main
compose_dir = Path(importlib.resources.files("visione.services").joinpath('')) # directory containing services for docker compose
AttributeError: module 'importlib.resources' has no attribute 'files'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.