Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

getModels.sh 1.3 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
  1. # ------------------------- BODY, FOOT, FACE, AND HAND MODELS -------------------------
  2. # Downloading body pose (COCO and MPI), face and hand models
  3. OPENPOSE_URL="http://posefs1.perception.cs.cmu.edu/OpenPose/models/"
  4. POSE_FOLDER="pose/"
  5. FACE_FOLDER="face/"
  6. HAND_FOLDER="hand/"
  7. # ------------------------- POSE (BODY+FOOT) MODELS -------------------------
  8. # Body (BODY_25)
  9. BODY_25_FOLDER=${POSE_FOLDER}"body_25/"
  10. BODY_25_MODEL=${BODY_25_FOLDER}"pose_iter_584000.caffemodel"
  11. wget -c ${OPENPOSE_URL}${BODY_25_MODEL} -P ${BODY_25_FOLDER}
  12. # Body (COCO)
  13. COCO_FOLDER=${POSE_FOLDER}"coco/"
  14. COCO_MODEL=${COCO_FOLDER}"pose_iter_440000.caffemodel"
  15. wget -c ${OPENPOSE_URL}${COCO_MODEL} -P ${COCO_FOLDER}
  16. # Alternative: it will not check whether file was fully downloaded
  17. # if [ ! -f $COCO_MODEL ]; then
  18. # wget ${OPENPOSE_URL}$COCO_MODEL -P $COCO_FOLDER
  19. # fi
  20. # Body (MPI)
  21. MPI_FOLDER=${POSE_FOLDER}"mpi/"
  22. MPI_MODEL=${MPI_FOLDER}"pose_iter_160000.caffemodel"
  23. wget -c ${OPENPOSE_URL}${MPI_MODEL} -P ${MPI_FOLDER}
  24. # "------------------------- FACE MODELS -------------------------"
  25. # Face
  26. FACE_MODEL=${FACE_FOLDER}"pose_iter_116000.caffemodel"
  27. wget -c ${OPENPOSE_URL}${FACE_MODEL} -P ${FACE_FOLDER}
  28. # "------------------------- HAND MODELS -------------------------"
  29. # Hand
  30. HAND_MODEL=$HAND_FOLDER"pose_iter_102000.caffemodel"
  31. wget -c ${OPENPOSE_URL}${HAND_MODEL} -P ${HAND_FOLDER}
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...