Comments (2)
and what is the type of
rec.embedding
? you said you're using a database, but no note on which one? based onSELECT name, embedding FROM employee
, its some sort of sql database. note that most sql databases don't natively store float arrays, so i'd assume you'd need to do some serialization when storing and deserialize when reading.if you can reproduce the problem with simple store, then its an issue, but i cannot troubleshoot your sql interface. once there is a reproduction that can be used, i can reopen.
Thank for quick reply, i just solved by update
const embeddingArray = rows.map((rec) => rec.embedding); // build array with just embeddings
to
const embeddingArray = rows.map((rec) => JSON.parse(rec.embedding));
from human.
and what is the type of rec.embedding
?
you said you're using a database, but no note on which one? based on SELECT name, embedding FROM employee
, its some sort of sql database.
note that most sql databases don't natively store float arrays, so i'd assume you'd need to do some serialization when storing and deserialize when reading.
if you can reproduce the problem with simple store, then its an issue, but i cannot troubleshoot your sql interface.
once there is a reproduction that can be used, i can reopen.
from human.
Related Issues (20)
- Crashing on iOS HOT 5
- Bb
- Html
- Crashes with React Native on Android HOT 3
- what's the models format and is there a way to convert them to onnx? HOT 3
- How to destroy human cache? HOT 1
- React-Native Implementation HOT 1
- Seems to detect only one hand at a time? HOT 5
- Typos and the like HOT 7
- Where can I find code for gaze detection in the repository ? HOT 1
- Package installation error HOT 3
- the same photo,human.esm.js human.js both Inconsistent detection results HOT 2
- Unable to install packages HOT 1
- Error when run npm run build HOT 2
- Using in a chrome extension HOT 1
- adding custom emotion model & post detection logic HOT 1
- gaze detection logic & comparison HOT 1
- Error: input error: type not recognized at U2 HOT 1
- human.tf.memory().numTensors after human.load() doesn't give zero HOT 5
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 human.