Commit cc5c340e authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

[dask] Making some entry-points picklable

parent 6e65c5db
Pipeline #37645 failed with stage
in 6 minutes and 46 seconds
#!/usr/bin/env python
import functools
# Detects the face and eye landmarks crops it using the detected eyes
preprocessor =
preprocessor = functools.partial(,
face_cropper = 'face-crop-eyes',
use_flandmark = True
# Detects the face amd crops it without eye detection
preprocessor_no_eyes =
preprocessor_no_eyes = functools.partial(,
face_cropper = 'face-crop-eyes',
use_flandmark = False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment