送信されたgitlabコードを送信してから、新しいモデルファイルを送信します

Xiaobaiへ、ステップバイステップで〜

最初にローカルフォルダに入ります

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

コマンドを実行します$ git 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

クラウドと一貫性があるため、git pull originmasterを再度実行してコードをプルできます。

$ 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

送信する新しいモデルを対応するパスに配置し、現在のステータスを表示します

$ 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

これらの2つのモデルが変更されたことを報告してから、プロジェクトを一時記憶域に追加します。

$ git add ./*

ステータスを確認すると、変更されたものが緑色に変わります

$ 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

送信をコミットし、-m説明を追加します

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

最後に、git push -u origin masterを実行して、ローカルウェアハウスをリモートウェアハウスにプッシュします

$ 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'.

ここに画像の説明を挿入

ドゥアン、変更は完了です~~

おすすめ

転載: blog.csdn.net/qq_35037684/article/details/114409276