Skip to content
Snippets Groups Projects

Adding some baselines as transformers

Merged Tiago de Freitas Pereira requested to merge redoing-pipelines into dask-pipelines
2 unresolved threads

closes #36 (closed)

Edited by Amir MOHAMMADI

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
2 2 import bob.io.image
3 3 import bob.ip.color
4 4
5 from bob.bio.base.preprocessor import Preprocessor
5 from sklearn.base import TransformerMixin, BaseEstimator
6 6
7 7
8 class Base (Preprocessor):
9 """Performs color space adaptations and data type corrections for the given
8 class Base(TransformerMixin, BaseEstimator):
    • @tiago.pereira I would like to see this issue: #26 (closed) being fixed here. The idea there is to remove the Base preprocessor and create several preprocessors/transofrmers that do one thing only. For example, you would have one transformer that just transformers rgb to gray. Another one for changing dype of images only. Another one just for cropping. Then, you would use the sklearn pipeline to create what FaceCrop does.

    • Yeah, I know. For the moment I'm just doing the simplest possible porting to get this thing done.

    • Please register or sign in to reply
  • added 1 commit

    • 6405fa0f - Updated FaceCrop and FaceDetect

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 2 commits

    • 73f1457f - Added tensorflow as test dependency
    • 0943c5e7 - Changed picklable methods for the embeddings

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • mentioned in commit 6d9351d7

  • Please register or sign in to reply
    Loading