Submit the submitted gitlab code and then submit the new model file

To Xiaobai, step-by-step~

First enter the local folder

zhengxinying@COMP-01-10710 MINGW64 /c/janusfacelock_python (master)

Run the command $ git status #View the current status

$ git status
On branch master
Your branch is behind 'origin/master' by 7 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)

nothing to commit, working tree clean

It has been consistent with the cloud, so you can run git pull origin master again to pull the code.

$ git pull origin master
From code.orbbec.com.cn:xiatian/janusfacelock_python
 * branch            master     -> FETCH_HEAD
Updating 0028a46..e06c705
Fast-forward
 FaceDetect/face_detect.py                          |  203 +++-
 FaceDetect/model/face_detect_ir_lock.npz           |  Bin 4736112 -> 2621897 bytes
 FaceDetect/model/face_detect_ir_lock.prototxt      |  726 ++++--------
 FaceDetect/model/face_detect_ir_lock_int16.npz     |  Bin 4736112 -> 0 bytes
 .../model/face_detect_ir_lock_int16.prototxt       | 1217 --------------------
 FaceDetect/retinaface.py                           |  553 ---------
 FaceLandmark/face_landmark.py                      |    2 +-
 FaceLandmark/model/face_landmark_ir_lock.npz       |  Bin 6204127 -> 1448549 bytes
 FaceLandmark/model/face_landmark_ir_lock.prototxt  |  518 +++++----
 FaceQuality/model/face_quality_ir_lock.npz         |  Bin 3444114 -> 1154999 bytes
 FaceQuality/model/face_quality_ir_lock.prototxt    |  501 +++-----
 FaceRecog/face_recog.py                            |   22 +-
 FaceRecog/model/face_recognize_ir_lock.npz         |  Bin 7697748 -> 11059904 bytes
 FaceRecog/model/face_recognize_ir_lock.prototxt    |  740 ++++++------
 config.py                                          |    2 +-
 generate_gallery_embedding.py                      |    6 +-
 test.py                                            |   10 +-
 17 files changed, 1162 insertions(+), 3338 deletions(-)
 delete mode 100644 FaceDetect/model/face_detect_ir_lock_int16.npz
 delete mode 100644 FaceDetect/model/face_detect_ir_lock_int16.prototxt
 delete mode 100644 FaceDetect/retinaface.py

Put the new model to be submitted to the corresponding path and view the current status

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   LivingIr/model/living_body_ir_lock.npz
        modified:   LivingIr/model/living_body_ir_lock.prototxt

Report that these two models have been modified, and then add the project to the temporary storage area,

$ git add ./*

Check the status, the modified ones will turn green

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        modified:   LivingIr/model/living_body_ir_lock.npz
        modified:   LivingIr/model/living_body_ir_lock.prototxt

commit submission, -m add description

$ git commit -m"更新ir活体模型"
[master 5434a2f] 鏇存柊ir娲讳綋妯″瀷
 2 files changed, 36 insertions(+), 36 deletions(-)
 rewrite LivingIr/model/living_body_ir_lock.npz (81%)

Finally, run git push -u origin master to push the local warehouse to the remote warehouse

$ git push -u origin master
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 12 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 622.96 KiB | 6.49 MiB/s, done.
Total 6 (delta 3), reused 0 (delta 0), pack-reused 0
To code.orbbec.com.cn:xiatian/janusfacelock_python.git
   e06c705..5434a2f  master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.

Insert picture description here

duang, the change is complete~~

Guess you like

Origin blog.csdn.net/qq_35037684/article/details/114409276