13 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
2
replies
64
views
How can I implement continual (incremental) learning in a face-recognition model without retraining from scratch?
I am building a face-recognition system using Python and a deep-learning model (currently experimenting with FaceNet / ArcFace + PyTorch). The system works for recognizing identities that the model ...
0
votes
0
answers
21
views
Can I perform XAI for an input occluded image with the pretrained model (ArcFace) for detecting occlusion?
I am doing XAI for the input occluded image using a pretrained ArcFace model to find the occluded area of the image and plot the PLQ map.
Here for XAI, I have used shap library in python. I have using ...
0
votes
1
answer
78
views
ImportError: cannot import name 'ArcFace' from 'arcface'
arcface
from arcface import ArcFace
face_rec = ArcFace.ArcFace()
emb1 = face_rec.calc_emb("~/Downloads/test.jpg")
print(emb1)
emb2 = face_rec.calc_emb("~/Downloads/test2.jpg")
...
0
votes
0
answers
50
views
Custom Losss Function Tensorflow datatype error
I am trying implement a custom arcface loss function:
def call(self, y_true: FloatTensor, y_pred: FloatTensor) -> FloatTensor:
projector = tf.math.l2_normalize(y_true, axis=1)
predictor = ...
1
vote
0
answers
309
views
how to resize image for arcface?
Hi I am trying to use arcface model with this code:
from deepface.basemodels.ArcFace import loadModel as loadArcFace
model = loadArcFace()
img = Image.open('face.jpg')
img = img.resize((112, 112), ...
1
vote
1
answer
374
views
Finding out distance between output of two Convolutional Neural Network (CNN) i.e Siamese Network
I am trying to build a simple Siamese neural network for usage in Human re-identification.
For that, I have used MTCNN (https://github.com/timesler/facenet-pytorch) for face detection and official ...
4
votes
2
answers
1k
views
issue with arcface ( 0 accuracy)
Hello guys I've joined a university-level image recognition competition.
In the test, they will give two images (people face) and my model need to detect pair of the image is the same person or not
...
1
vote
0
answers
1k
views
About a Arcface training strategy
I'm training Arcface with CASIA-Webface dataset with refering This github page(https://github.com/ZhaoJ9014/face.evoLVe.PyTorch).
I've aligned the CASIA-Webface dataset using the face alignment codes ...
1
vote
1
answer
1k
views
Why loaded Pytorch model's loss highly increased?
I'm trying to train Arcface with reference to.
As far as I know, Arcface requires more than 200 training epochs on CASIA-webface with a large batch size.
Within 100 epochs of training, I stopped the ...
0
votes
2
answers
1k
views
import error of ArcFace using python in jupyternotebbok
When I am importing the package ArcFace.
from arcface.metrics import ArcFace
It is showning the import error. Like this,
ModuleNotFoundError Traceback (most recent call last)
&...
-1
votes
1
answer
2k
views
How can i know the architecture of pre-trained model in Pytorch?
I have downloaded this pre-trained model "model_ir_se50.pth" for face recognition. It is giving very good results. How can i know its architecture?
0
votes
0
answers
255
views
How to a handle C++ exception coming in python library (implemented in C++)?
I am trying to write a face verification API in python. For image detection and calculating the embeddings, I have used InsightFace package provided by http://insightface.ai/. But for specific images ...
0
votes
1
answer
1k
views
Arcface architecture returning the same embedding for any face
I am trying put together arcface with inception resnet using Keras, the training looks likes be right, it means, it increases accuracy the loss decreases while the batches and epochs are processed, ...