From 5c5d96523ef917bd30301245fdc8343937cae48d Mon Sep 17 00:00:00 2001 From: gineshidalgo Date: Fri, 2 Aug 2024 18:40:45 -0700 Subject: [PATCH] Models working again --- 3rdparty/windows/getCaffe.bat | 2 +- 3rdparty/windows/getCaffe3rdparty.bat | 2 +- 3rdparty/windows/getFreeglut.bat | 2 +- 3rdparty/windows/getOpenCV.bat | 2 +- 3rdparty/windows/getSpinnaker.bat | 2 +- CMakeLists.txt | 2 +- doc/installation/1_prerequisites.md | 20 +++++++++---------- doc/installation/2_additional_settings.md | 4 ++-- .../deprecated/installation_deprecated.md | 14 ++++++------- models/getModels.bat | 2 +- models/getModels.sh | 2 +- 11 files changed, 27 insertions(+), 27 deletions(-) diff --git a/3rdparty/windows/getCaffe.bat b/3rdparty/windows/getCaffe.bat index fd949f966..63a289f69 100644 --- a/3rdparty/windows/getCaffe.bat +++ b/3rdparty/windows/getCaffe.bat @@ -9,7 +9,7 @@ echo ----- Downloading Caffe ----- SET CAFEE_FOLDER=caffe\ SET ZIP_NAME=caffe_16_2020_11_14.zip SET ZIP_FULL_PATH=%CAFEE_FOLDER%%ZIP_NAME% -%WGET_EXE% -c http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/%ZIP_NAME% -P %CAFEE_FOLDER% +%WGET_EXE% -c http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/%ZIP_NAME% -P %CAFEE_FOLDER% echo: echo ----- Unzipping Caffe ----- diff --git a/3rdparty/windows/getCaffe3rdparty.bat b/3rdparty/windows/getCaffe3rdparty.bat index 1aadac97d..ac4b5f97f 100644 --- a/3rdparty/windows/getCaffe3rdparty.bat +++ b/3rdparty/windows/getCaffe3rdparty.bat @@ -9,7 +9,7 @@ echo ----- Downloading Caffe ----- SET CAFEE_FOLDER=caffe3rdparty\ SET ZIP_NAME=caffe3rdparty_16_2020_11_14.zip SET ZIP_FULL_PATH=%CAFEE_FOLDER%%ZIP_NAME% -%WGET_EXE% -c http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/%ZIP_NAME% -P %CAFEE_FOLDER% +%WGET_EXE% -c http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/%ZIP_NAME% -P %CAFEE_FOLDER% echo: echo ----- Unzipping Caffe ----- diff --git a/3rdparty/windows/getFreeglut.bat b/3rdparty/windows/getFreeglut.bat index 3cab40f44..16ddef4af 100644 --- a/3rdparty/windows/getFreeglut.bat +++ b/3rdparty/windows/getFreeglut.bat @@ -9,7 +9,7 @@ echo ----- Downloading Caffe ----- SET FREEGLUT_FOLDER=freeglut\ SET ZIP_NAME=freeglut_2018_01_14.zip SET ZIP_FULL_PATH=%FREEGLUT_FOLDER%%ZIP_NAME% -%WGET_EXE% -c http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/%ZIP_NAME% -P %FREEGLUT_FOLDER% +%WGET_EXE% -c http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/%ZIP_NAME% -P %FREEGLUT_FOLDER% echo: echo ----- Unzipping Caffe ----- diff --git a/3rdparty/windows/getOpenCV.bat b/3rdparty/windows/getOpenCV.bat index 9376c17d1..73661c86c 100644 --- a/3rdparty/windows/getOpenCV.bat +++ b/3rdparty/windows/getOpenCV.bat @@ -9,7 +9,7 @@ echo ----- Downloading OpenCV ----- SET OPENCV_FOLDER=opencv\ SET ZIP_NAME=opencv_450_v15_2020_11_18.zip SET ZIP_FULL_PATH=%OPENCV_FOLDER%%ZIP_NAME% -%WGET_EXE% -c http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/%ZIP_NAME% -P %OPENCV_FOLDER% +%WGET_EXE% -c http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/%ZIP_NAME% -P %OPENCV_FOLDER% echo: echo ----- Unzipping OpenCV ----- diff --git a/3rdparty/windows/getSpinnaker.bat b/3rdparty/windows/getSpinnaker.bat index 685943c44..6bdc42c3c 100644 --- a/3rdparty/windows/getSpinnaker.bat +++ b/3rdparty/windows/getSpinnaker.bat @@ -9,7 +9,7 @@ echo ----- Downloading Caffe ----- SET SPINNAKER_FOLDER=spinnaker\ SET ZIP_NAME=spinnaker_2018_01_24.zip SET ZIP_FULL_PATH=%SPINNAKER_FOLDER%%ZIP_NAME% -%WGET_EXE% -c http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/%ZIP_NAME% -P %SPINNAKER_FOLDER% +%WGET_EXE% -c http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/%ZIP_NAME% -P %SPINNAKER_FOLDER% echo: echo ----- Unzipping Caffe ----- diff --git a/CMakeLists.txt b/CMakeLists.txt index c9e0e8fe0..f48e942e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -343,7 +343,7 @@ if (APPLE) endif () endif (APPLE) -set(DOWNLOAD_SERVER "http://posefs1.perception.cs.cmu.edu/OpenPose/" CACHE STRING "Server from which the models and 3rdparty libraries will be downloaded from.") +set(DOWNLOAD_SERVER "http://vcl.snu.ac.kr/OpenPose/" CACHE STRING "Server from which the models and 3rdparty libraries will be downloaded from.") mark_as_advanced(DOWNLOAD_SERVER) ### FIND REQUIRED PACKAGES diff --git a/doc/installation/1_prerequisites.md b/doc/installation/1_prerequisites.md index 21e3858ac..f1cff58c2 100644 --- a/doc/installation/1_prerequisites.md +++ b/doc/installation/1_prerequisites.md @@ -13,11 +13,11 @@ OpenPose Doc - Installation - Prerequisites These tips are **very important** and avoid many bugs: - Install the latest CUDA version or make sure your GPU is compatible with the CUDA version you have in your system. E.g., Nvidia 30XX GPUs require at least CUDA 11, others (GTX 20XX, V100, Volta or Turing GPUs) require at least CUDA 10. - CMake automatically downloads all the OpenPose models. However, **some firewall or company networks block these downloads**. If so, you might need to download them manually: - - [BODY_25 model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/body_25/pose_iter_584000.caffemodel): download in `models/pose/body_25/`. - - [COCO model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/coco/pose_iter_440000.caffemodel): download in `models/pose/coco/`. - - [MPI model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/mpi/pose_iter_160000.caffemodel): download in `models/pose/mpi/`. - - [Face model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/face/pose_iter_116000.caffemodel): download in `models/face/`. - - [Hands model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/hand/pose_iter_102000.caffemodel): download in `models/hand/`. + - [BODY_25 model](http://vcl.snu.ac.kr/OpenPose/models/pose/body_25/pose_iter_584000.caffemodel): download in `models/pose/body_25/`. + - [COCO model](http://vcl.snu.ac.kr/OpenPose/models/pose/coco/pose_iter_440000.caffemodel): download in `models/pose/coco/`. + - [MPI model](http://vcl.snu.ac.kr/OpenPose/models/pose/mpi/pose_iter_160000.caffemodel): download in `models/pose/mpi/`. + - [Face model](http://vcl.snu.ac.kr/OpenPose/models/face/pose_iter_116000.caffemodel): download in `models/face/`. + - [Hands model](http://vcl.snu.ac.kr/OpenPose/models/hand/pose_iter_102000.caffemodel): download in `models/hand/`. @@ -106,11 +106,11 @@ NOTE: These instructions are only required when compiling OpenPose from source. - Dependencies: - Note: Leave the zip files in `3rdparty/windows/` so that CMake does not try to download them again. - Caffe (if you are not sure which one you need, download the default one): - - [CUDA Caffe (Default)](http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/caffe_16_2020_11_14.zip): Unzip as `3rdparty/windows/caffe/`. - - [CPU Caffe](http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/caffe_cpu_2018_05_27.zip): Unzip as `3rdparty/windows/caffe_cpu/`. - - [OpenCL Caffe](http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/caffe_opencl_2018_02_13.zip): Unzip as `3rdparty/windows/caffe_opencl/`. - - [Caffe dependencies](http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/caffe3rdparty_16_2020_11_14.zip): Unzip as `3rdparty/windows/caffe3rdparty/`. - - [OpenCV 4.2.0](http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/opencv_450_v15_2020_11_18.zip): Unzip as `3rdparty/windows/opencv/`. + - [CUDA Caffe (Default)](http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/caffe_16_2020_11_14.zip): Unzip as `3rdparty/windows/caffe/`. + - [CPU Caffe](http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/caffe_cpu_2018_05_27.zip): Unzip as `3rdparty/windows/caffe_cpu/`. + - [OpenCL Caffe](http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/caffe_opencl_2018_02_13.zip): Unzip as `3rdparty/windows/caffe_opencl/`. + - [Caffe dependencies](http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/caffe3rdparty_16_2020_11_14.zip): Unzip as `3rdparty/windows/caffe3rdparty/`. + - [OpenCV 4.2.0](http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/opencv_450_v15_2020_11_18.zip): Unzip as `3rdparty/windows/opencv/`. 7. Python prerequisites (optional, only if you plan to use the Python API): Install any [Python 3.X](https://www.python.org/downloads/windows/) version for Windows, and then: ``` sudo pip install numpy opencv-python diff --git a/doc/installation/2_additional_settings.md b/doc/installation/2_additional_settings.md index a272a228f..fc3dd320c 100644 --- a/doc/installation/2_additional_settings.md +++ b/doc/installation/2_additional_settings.md @@ -88,7 +88,7 @@ You can include the 3D reconstruction module by: 1. It is automatically downloaded by the CMake installer. 2. Alternatively, if you prefer to download it yourself, you could either: 1. Double click on `3rdparty\windows\getFreeglut.bat`. - 2. Download [this version from our server](http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/freeglut_2018_01_14.zip) and unzip it in `{OpenPoseDirectory}\3rdparty\windows\freeglut\`. + 2. Download [this version from our server](http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/freeglut_2018_01_14.zip) and unzip it in `{OpenPoseDirectory}\3rdparty\windows\freeglut\`. 3. Download the latest `MSVC Package` from [http://www.transmissionzero.co.uk/software/freeglut-devel/](http://www.transmissionzero.co.uk/software/freeglut-devel/). - Copy `{freeglutParentDirectory}\freeglut\bin\x64\` as `{OpenPoseDirectory}\3rdparty\windows\freeglut\bin\`. - Copy `{freeglutParentDirectory}\freeglut\include\` as `{OpenPoseDirectory}\3rdparty\windows\freeglut\include\`. @@ -105,7 +105,7 @@ The intrinsic camera calibration toolbox is included by default. To enable the extrinsic camera parameter estimation toolbox, you must also enable `WITH_EIGEN` in CMake during [CMake Configuration](#cmake-configuration). You can perform any of the 3 following options (but only 1 of them!) - Recommended: Simply set the `WITH_EIGEN` flag to `AUTOBUILD`. CMake will automatically download Eigen and configure OpenPose to use it. If you prefer to download it manually (or if your firewall blocks CMake from downloading it): - - [Eigen 3.3.8](http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/eigen_2020_11_18.zip): Unzip it as `3rdparty/eigen/`. + - [Eigen 3.3.8](http://vcl.snu.ac.kr/OpenPose/3rdparty/eigen_2020_11_18.zip): Unzip it as `3rdparty/eigen/`. - Advanced (not recommended): If you set `WITH_EIGEN` to `FIND`, you must have Eigen already installed in your system. Note that [Eigen <= 3.3.6 is not supported by CUDA >=9.1](https://bitbucket.org/eigen/eigen/commits/034b6c3e101792a3cc3ccabd9bfaddcabe85bb58?at=default). In order to install it (make sure that Eigen version is compatible with CUDA!): - Run `sudo apt-get install libeigen3-dev` and link CMake to the right CMake. - Advanced (not recommended): Or you could also use your own version of Eigen by setting `WITH_EIGEN` to `AUTOBUILD`, click `Configure` to let CMake download the zip file, and replace `3rdparty/eigen/` by your own version. diff --git a/doc/installation/deprecated/installation_deprecated.md b/doc/installation/deprecated/installation_deprecated.md index e174ccbbe..8cbadf0fa 100644 --- a/doc/installation/deprecated/installation_deprecated.md +++ b/doc/installation/deprecated/installation_deprecated.md @@ -135,14 +135,14 @@ Note: This installer will not incorporate any new features, we recommend to use 1. Download the OpenPose dependencies and models (body, face and hand models) by double-clicking on `{openpose_path}\windows\download_3rdparty_and_models.bat`. Alternatively, you might prefer to download them manually: - Models: - - [COCO model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/coco/pose_iter_440000.caffemodel): download in `models/pose/coco/`. - - [MPI model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/pose/mpi/pose_iter_160000.caffemodel): download in `models/pose/mpi/`. - - [Face model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/face/pose_iter_116000.caffemodel): download in `models/face/`. - - [Hands model](http://posefs1.perception.cs.cmu.edu/OpenPose/models/hand/pose_iter_102000.caffemodel): download in `models/hand/`. + - [COCO model](http://vcl.snu.ac.kr/OpenPose/models/pose/coco/pose_iter_440000.caffemodel): download in `models/pose/coco/`. + - [MPI model](http://vcl.snu.ac.kr/OpenPose/models/pose/mpi/pose_iter_160000.caffemodel): download in `models/pose/mpi/`. + - [Face model](http://vcl.snu.ac.kr/OpenPose/models/face/pose_iter_116000.caffemodel): download in `models/face/`. + - [Hands model](http://vcl.snu.ac.kr/OpenPose/models/hand/pose_iter_102000.caffemodel): download in `models/hand/`. - Dependencies: - - [Caffe](http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/caffe_16_2020_11_14.zip): Unzip as `3rdparty/windows/caffe/`. - - [Caffe dependencies](http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/caffe3rdparty_16_2020_11_14.zip): Unzip as `3rdparty/windows/caffe3rdparty/`. - - [OpenCV 4.2.0](http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/opencv_450_v15_2020_11_18.zip): Unzip as `3rdparty/windows/opencv/`. + - [Caffe](http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/caffe_16_2020_11_14.zip): Unzip as `3rdparty/windows/caffe/`. + - [Caffe dependencies](http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/caffe3rdparty_16_2020_11_14.zip): Unzip as `3rdparty/windows/caffe3rdparty/`. + - [OpenCV 4.2.0](http://vcl.snu.ac.kr/OpenPose/3rdparty/windows/opencv_450_v15_2020_11_18.zip): Unzip as `3rdparty/windows/opencv/`. 2. Open the Visual Studio project sln file by double-cliking on `{openpose_path}\windows\OpenPose.sln`. 3. In order to verify OpenPose is working, try compiling and executing the demo: 1. Right click on `OpenPoseDemo` --> `Set as StartUp Project`. diff --git a/models/getModels.bat b/models/getModels.bat index 2eccb5a14..c74d7ec02 100644 --- a/models/getModels.bat +++ b/models/getModels.bat @@ -4,7 +4,7 @@ echo ------------------------- BODY, FOOT, FACE, AND HAND MODELS ------------------------- echo ----- Downloading body pose (COCO and MPI), face and hand models ----- SET WGET_EXE=..\3rdparty\windows\wget\wget.exe -SET OPENPOSE_URL=http://posefs1.perception.cs.cmu.edu/OpenPose/models/ +SET OPENPOSE_URL=http://vcl.snu.ac.kr/OpenPose/models/ SET POSE_FOLDER=pose/ SET FACE_FOLDER=face/ SET HAND_FOLDER=hand/ diff --git a/models/getModels.sh b/models/getModels.sh index 63aef4d55..7d420d42b 100755 --- a/models/getModels.sh +++ b/models/getModels.sh @@ -1,6 +1,6 @@ # ------------------------- BODY, FOOT, FACE, AND HAND MODELS ------------------------- # Downloading body pose (COCO and MPI), face and hand models -OPENPOSE_URL="http://posefs1.perception.cs.cmu.edu/OpenPose/models/" +OPENPOSE_URL="http://vcl.snu.ac.kr/OpenPose/models/" POSE_FOLDER="pose/" FACE_FOLDER="face/" HAND_FOLDER="hand/"