Ship the three eye-state models beside the face pair
2d106det for the eye contours, OCEC for open or closed, SGC for sunglasses — all three pinned to a batch of one by the same script as the pair, and installed by every packager so the eyes-open filter works out of the box. The two classifiers are MIT, code and weights; the README records their provenance, SGC's undocumented training set, and the hashes as fetched and as shipped.
This commit is contained in:
@@ -157,7 +157,8 @@ modules:
|
||||
# inside the graph loader on the user's machine. Refuse instead, with the
|
||||
# command that fixes it.
|
||||
- |
|
||||
for m in scrfd_500m_640.onnx scrfd_2.5g_640.onnx scrfd_10g_640.onnx arcface_mbf_b1.onnx; do
|
||||
for m in scrfd_500m_640.onnx scrfd_2.5g_640.onnx scrfd_10g_640.onnx arcface_mbf_b1.onnx \
|
||||
2d106det_b1.onnx ocec_s_b1.onnx sgc_l_48_b1.onnx; do
|
||||
if [ "$(stat -c%s "models/face/$m")" -lt 100000 ]; then
|
||||
echo "error: $m is an LFS pointer, not a model — run: git lfs pull" >&2
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user