Skip to content

Instantly share code, notes, and snippets.

@RyotaBannai
Created December 19, 2018 18:05
Show Gist options
  • Save RyotaBannai/b8ad806c91c436e492d969ee102fddf5 to your computer and use it in GitHub Desktop.
Save RyotaBannai/b8ad806c91c436e492d969ee102fddf5 to your computer and use it in GitHub Desktop.
truncated = faces.data[:500] # 500 *2914 Matrix
average_face = truncted.mean(axis=0)
face_data = truncted - average_face
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment