Questions tagged [facenet]
31 questions
0
votes
0 answers
ValueError: bad marshal data (unknown type code) while MyFaceNet = load_model('facenet_keras.h5')
im using
keras '2.8.0'
tensorflow 2.8.0
python Python 3.10.4
Facing issue while loading facenet_keras.h5 in jupyter notebook
facing issue in this line
MyFaceNet = load_model(r'C:\Users\omkar\Desktop\pprs\deep neural…

omkar musale
- 108
- 4
- 15
0
votes
0 answers
Cv2.error: OpenCV 4.7.0 and overload resolution failed Python 3.x
I'm doing a project involving cv2 and PyTorch and whenever facenet detects a face, it is supposed to put a rectangle around it. Here's the code that is resulting in the error:
for i, prob in enumerate(prob_list):
if prob>0.90:
…

DurianEats
- 1
- 1
0
votes
1 answer
Adding labels while converting SVC FaceClassification model to CoreML using, converters.sklearn.convert
I have trained a model to classify faces based on FaceNet, and while I am trying to convert the model to CoreML model using converters.sklearn.convert, I do not get class labels embedded to it by default, how can I add class labels to my CoreML…

Pranav
- 13
- 5
0
votes
2 answers
Load facenet model
I have tried almost all the answers on stackoverflow but nothing worked. Here is my code.
from keras.models import load_model
load_model('facenet_keras.h5')
It is giving me this error
ValueError Traceback (most…

primo
- 1,340
- 3
- 12
- 40
0
votes
0 answers
My Image Data Generator is converting my images to grayscale(from RGB)
I am currently using Facenet to build a facial Detection and recognition application. The first part takes images from the webcam, detects the Face of the person from the webcam using the MTCNN model. After that it stores the images in a folder.…

Ishan Sharma
- 1
- 1
0
votes
1 answer
InceptionResnet (vggface2) Pytorch giving incorrect facial predictions
I am creating a facial recognition system without around 40 faces to be recognized. The process involved
Using OpenCV to stream the IP camera
Facenet-Pytorch MTCCN to detect faces
InceptionResnetV1 (vggface2) to generate embeddings
Load pickle file…

misfa123
- 1
- 1
0
votes
1 answer
code = marshal.loads(raw_code) ValueError: bad marshal data (unknown type code)
Running flexget Python script I get an error:
Traceback (most recent call last):
File "D:\project\facenet3\FaceRecognition_SVM_Classifier.py", line 51, in
model = load_model('D:/project/facenet3/facenet_keras.h5')
File…

Sattawat
- 107
- 2
- 3
- 6
0
votes
0 answers
Tensorflow not loading facenet model
This is an error i am getting on spyder 5.0.3
File
"C:\Users\HP\anaconda3\lib\site-packages\tensorflow\python\keras\layers\core.py",
line 1057, in _parse_function_from_config
function =…

Ashir Ali
- 13
- 3
0
votes
1 answer
TypeError: Cannot create initializer for non-floating point type . When running "train_tripletloss.py"
I am new at tensorflow and models training. I am using the face recognition algorithm based on yolo and facenet. i am now trying to train my own model. But i get an error everytime I do so.
I would be very grateful to you if you help me solve it.…

aicha
- 3
- 1
0
votes
1 answer
Facial Recognition on Raspberry Pi
I am trying to develop a facial recognition system on a raspberry pi 4 for a university project. I have to use Google Auto ML, Facenet, and Tensorflow. I have some understanding of what they are (I think), just want some guidance on what each really…

Mehmet saglam
- 3
- 2
0
votes
1 answer
face recognition with facenet
I want to create a face recognition with facenet but most website that I have referred they used tensorflow version 1 instead version 2. I have changed the program a little bit so that it can run in Tf v2 but the image result do not recognize any…

Nadira
- 11
- 3
0
votes
1 answer
Pytorch Facenet MTCNN Image output
I am doing a face recognition app using facenet pytorch (https://github.com/timesler/facenet-pytorch) in python using two methods.
1st method
Code -
resnet = InceptionResnetV1(pretrained='vggface2').eval()
mtcnn = MTCNN(image_size=96)
img =…
user14064037
0
votes
1 answer
Difference frameworks to do face matching
I try to make the correspondence between two faces and give as a result if two faces match or not.
To do this, I did some research and I found the face comparison package (https://pypi.org/project/face-compare/) that allows me to do this, and it…

Houssem El Abed
- 177
- 1
- 8
0
votes
2 answers
How to compare probe face images with gallery images with feature extractor | Python
I have a dataset that contains 1500 face images and i have selected 150 images as probe.
Now 150 images are in probe folder and other images are in gallery folder.
I have facenet feature extractor which extract features from images and save into…

Khawar Islam
- 2,556
- 2
- 34
- 56
-1
votes
1 answer
Getting ValueError while training facenet
Im trying this code https://github.com/arsfutura/face-recognition , but While running sh tasks/train.sh images/ Im getting valueerror as…

Cks
- 39
- 5