AllenInstitute / AllenSDK

code for reading and processing Allen Institute for Brain Science data
https://allensdk.readthedocs.io/en/latest/
Other
344 stars 149 forks source link

Productionize DeepLabCut eye tracking #2082

Open wbwakeman opened 3 years ago

wbwakeman commented 3 years ago

Move DeepLabCut eye tracking into production environment.

Eye tracking is implemented for two-photon and Neuropixels sessions. It consists of jobs in four queues: EYE_TRACKING_QUEUE EYE_ELLIPSE_FIT_QUEUE ECEPHYS_EYE_TRACKING_QUEUE ECEPHYS_EYE_ELLIPSE_FIT_QUEUE

These queues are being run from a conda environment built by Wayne based on input from Peter L: /allen/aibs/technology/waynew/conda/dlcPy36

eye tracking is done with this script: /allen/aibs/technology/waynew/eye/bin/eye_dlc_phase1.py

ellipse fitting is done with this script: /allen/aibs/technology/waynew/eye/bin/eye_dlc_phase2.py

The eye tracking script references a config file and model directory that needsto be moved to a more accessible, and write-protected location.

/allen/aibs/technology/waynew/eye/universal_eye_tracking-peterl-2019-07-10/config.yaml
//allen/aibs/technology/waynew/eye/universal_eye_tracking-peterl-2019-07-10

The scripts should be cleaned up and moved to a production space with proper testing and CI infrastructure.

EYE_TRACKING_TO_SCREEN_MAPPING (gaze mapping is outside the scope of this epic)

wbwakeman commented 2 years ago

This applies to "Face" and "Side" tracking too. In fact, it is more imperative for those since the scientific project groups are more likely to want to update the models for those than for the "Eye".