YuvalNirkin / face_segmentation

Deep face segmentation in extremely hard conditions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

some questions in face_seg.py.....

Rettichhuang opened this issue · comments

hi,in your face_seg.py ,u write :in_ -= np.array((104.00698793,116.66876762,122.67891434))
can u explain the meaning of three numbers in the brackets
thanks a lot~

Those 3 numbers are the mean pixel color of the training dataset.
Subtracting the mean from the data is a basic preprocessing operation that helps the training converge.