D2KLab / FaceRec

Face Celebrity Detection and Recognition
http://facerec.eurecom.fr/visualizer
Apache License 2.0
25 stars 5 forks source link

Embeddings for my dataset #17

Closed brunoaibanez closed 3 years ago

brunoaibanez commented 3 years ago

I was running the code on my own dataset. Do I have to get the embeddings myself? How do I get them with the scripts you guys provide? When running the download and then running the SVM training, it raises the following error:

FileNotFoundError: [Errno 2] No such file or directory: 'data/embedding/project.csv'

rtroncy commented 3 years ago

Did you find out how to resolve your problem?

pasqLisena commented 3 years ago

Hi Bruno, can you please try to create the data/embedding/ folder manually?


If I well understand, you don't want to use image crawled from the web.

In that case, you should:

brunoaibanez commented 3 years ago

Hello guys, I closed the issue before because I tried what @pasqLisena said and it worked. You might want to add it on the documentation.

I also found the following issue:

AttributeError: Can't get attribute 'FacerecClassifier' on <module 'src.tracker' from '/content/Face-Celebrity-Recognition/src/tracker.py'>

I solved it by importing on tracker.py: from .classifier import FacerecClassifier

brunoaibanez commented 3 years ago

Now, I finally have the predictions.csv and trackers.csv, do you guys have any script to visualize on the video the predictions? Just like painting the different bounding boxes on the video? In case not, and knowing that I will have to write it anyways, I will fork the repo and create one.

rtroncy commented 3 years ago

There is a visualized app in the repo. You can experience it at http://facerec.eurecom.fr/visualizer/