added the DR-GAN encoder as a bob.bio.base.extractor
@tiago.pereira @amohammadi I'll let you check ..
This is the code to encode an ID based on a face image using the so-called DR-GAN.
I'm aware that's a bit ugly, but this code come from MSU and is necessary to load the model they provided.
Merge request reports
Activity
- Resolved by Tiago de Freitas Pereira
- Resolved by Tiago de Freitas Pereira
Hey @heusch thanks for the patch.
Is it possible to add a simple test case? Very simple, like this one would be excellent
thanks
After merge that I'll benchmark it here, ok (http://beatubulatest.lab.idiap.ch/private/docs/bob/bob.bio.face_ongoing/master/baselines/baselines.html)?
Cheers
Awesome @heusch, thanks
added 1 commit
- e531188e - Added the DR-GAN encoder as feature extractor
Hey @heusch,
I appended the download mechanism and wrote some documentation. Thanks for the contribution. I will run some tests in bob.bio.face_ongoing. I will let you know when I have some results. Cheers
@amohammadi, I will open an issue to implement the download mechanism you suggested.
enabled an automatic merge when the pipeline for e531188e succeeds
mentioned in commit 93cb3528
- bob/ip/tensorflow_extractor/DrGanMSU.py 0 → 100644
320 class DrGanMSUExtractorBioBase(DrGanMSUExtractor, Extractor): 321 pass 322 extractor = DrGanMSUExtractorBioBase() 323 324 325 **Parameters:** 326 327 model_file: 328 Path to the model 329 330 image_size: list 331 The input image size (WxHxC) 332 333 """ 334 335 def __init__(self, model_path=None, image_size=[96, 96, 3]): - Resolved by Tiago de Freitas Pereira
@tiago.pereira You're welcome, and thanks for taking care of the additional burden