shhossain / facedb Goto Github PK
View Code? Open in Web Editor NEWA face database for large scale face recognition
License: MIT License
A face database for large scale face recognition
License: MIT License
I noticed in db.py, there are conditional imports that are controlled by global variables and locks which may lead to race conditions. This may happen as threads enter locked sections and do not have the information on whether the necessary module is already imported by another unless it is reflected by the globals. If the checking of these globals is for some reason bypassed, two threads may end up importing the same module twice, leading to unnecessary operations. This could be avoided by importing these modules at the start of the program and global variables should not be modified unless the modification is handled through a thread-safe mechanism such as thread-local storage.
The currently version of pinecone used only PINECONE_API_KEY to connect.
The key PINECONE_ENVIRONMENT is deprecated.
Ex:
pc = Pinecone(api_key='YOUR_API_KEY')
Hello,
As far as I understand the package does not allow adding multiple images of the same person, the update
function just replaces the embeeding.
Do you consider adding this feature? Or can you give me some suggestions/pitfalls to avoid/direction how should I implement it?
Got this error when trying to install from pip with venv, but works fine if I run locally
Collecting facedb
Using cached FaceDB-0.0.11.tar.gz (22 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-jxm2tbc8/facedb_264dbc4cde644c5fa4b895d2e1cc1f9c/setup.py", line 13, in <module>
with open("requirements.txt") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
OS: Ubuntu 22.04.3 LTS x86_64
Python Version: 3.10.12
Hi, can you please let me know how I can upsert my local embeddings (saved to .npz file) generated from my own embedding model to the vector database, i tried but i cannot find a way to do it, Thanks in advance!
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.