Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.bio.face bob.bio.face
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bob.bio.facebob.bio.face
  • Merge requests
  • !121

lfw bug fix

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Hatef OTROSHI requested to merge LFW-fix into master May 17, 2021
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

Hi,

When trying to get all_samples() in lfw dataset, I faced with the following error:

>> from bob.bio.face.config.database.lfw_unrestricted import database
>> database.all_samples()
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
<ipython-input-91-392e908f49b8> in <module>
      1 from bob.bio.face.config.database.lfw_unrestricted import database
----> 2 database.all_samples()

/idiap/temp/hotroshi/anaconda3/envs/my_bob_2021/lib/python3.8/site-packages/bob/bio/base/pipelines/vanilla_biometrics/legacy.py in all_samples(self, groups)
    237         """
    238         valid_groups = convert_names_to_highlevel(
--> 239             self.database.groups(),
    240             low_level_names=["world", "dev", "eval"],
    241             high_level_names=["train", "dev", "eval"],

/idiap/temp/hotroshi/anaconda3/envs/my_bob_2021/lib/python3.8/site-packages/bob/bio/base/database/database.py in groups(self, protocol)
    307           If you do not have protocols defined, just ignore this field.
    308         """
--> 309         raise NotImplementedError("This function must be implemented in your derived class.")
    310 
    311 

NotImplementedError: This function must be implemented in your derived class.

It is solved in this MR (thanks @amohammadi)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: LFW-fix