forked from Zumbalamambo/tf-openpose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Repackage - ROS Support - Network Tunings - Knowledge Distilation (TODO)
- Loading branch information
Showing
109 changed files
with
14,663 additions
and
905 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,23 @@ | ||
./models | ||
./models/* | ||
./models/*/* | ||
./models/*/*/* | ||
./models/*/*/*/* | ||
models | ||
models/* | ||
models/*/* | ||
models/*/*/* | ||
models/*/*/*/* | ||
*.meta | ||
*.index | ||
*.data-* | ||
*.ckpt.* | ||
|
||
./tests | ||
./tests/* | ||
tests | ||
tests | ||
graph*.pb | ||
chk*.meta | ||
lifting | ||
slim | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
cmake_minimum_required(VERSION 2.8.3) | ||
project(tfpose_ros) | ||
|
||
## Add support for C++11, supported in ROS Kinetic and newer | ||
add_definitions(-std=c++11) | ||
|
||
find_package(catkin REQUIRED COMPONENTS | ||
roscpp | ||
rospy | ||
std_msgs | ||
message_generation | ||
) | ||
|
||
# Generate messages in the 'msg' folder | ||
add_message_files( | ||
FILES | ||
BodyPartElm.msg | ||
Person.msg | ||
Persons.msg | ||
) | ||
|
||
generate_messages( | ||
DEPENDENCIES std_msgs | ||
) | ||
|
||
catkin_package( | ||
CATKIN_DEPENDS message_generation message_runtime | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,8 @@ | ||
FROM ubuntu:16.04 | ||
FROM idock.daumkakao.io/kakaobrain/deepcloud-sshd:openpose-preprocess | ||
|
||
ENV http_proxy=http://10.41.249.28:8080 https_proxy=http://10.41.249.28:8080 | ||
|
||
RUN apt-get update -yq && apt-get install -yq build-essential cmake git pkg-config wget zip && \ | ||
apt-get install -yq libjpeg8-dev libtiff5-dev libjasper-dev libpng12-dev && \ | ||
apt-get install -yq libavcodec-dev libavformat-dev libswscale-dev libv4l-dev && \ | ||
apt-get install -yq libgtk2.0-dev && \ | ||
apt-get install -yq libatlas-base-dev gfortran && \ | ||
apt-get install -yq python3 python3-dev python3-pip python3-setuptools python3-tk git && \ | ||
pip3 install numpy && \ | ||
cd ~ && git clone https://github.com/Itseez/opencv.git && \ | ||
cd opencv && mkdir build && cd build && \ | ||
cmake -D CMAKE_BUILD_TYPE=RELEASE \ | ||
-D CMAKE_INSTALL_PREFIX=/usr/local \ | ||
-D INSTALL_PYTHON_EXAMPLES=ON \ | ||
-D BUILD_opencv_python3=yes -D PYTHON_EXECUTABLE=/usr/bin/python3 .. && \ | ||
make -j8 && make install && rm -rf /root/opencv/ && \ | ||
mkdir -p /root/tf-openpose && \ | ||
rm -rf /tmp/*.tar.gz && \ | ||
apt-get clean && rm -rf /tmp/* /var/tmp* /var/lib/apt/lists/* && \ | ||
rm -f /etc/ssh/ssh_host_* && rm -rf /usr/share/man?? /usr/share/man/??_* | ||
|
||
COPY . /root/tf-openpose/ | ||
COPY ./*.py /root/tf-openpose/ | ||
WORKDIR /root/tf-openpose/ | ||
|
||
RUN cd /root/tf-openpose/ && pip3 install -U setuptools && \ | ||
pip3 install tensorflow && pip3 install -r requirements.txt | ||
|
||
RUN cd /root && git clone https://github.com/cocodataset/cocoapi && \ | ||
pip3 install cython && \ | ||
cd cocoapi/PythonAPI && python3 setup.py build_ext --inplace && python3 setup.py build_ext install && \ | ||
mkdir /coco && cd /coco && wget http://images.cocodataset.org/annotations/annotations_trainval2017.zip && \ | ||
unzip annotations_trainval2017.zip && rm -rf annotations_trainval2017.zip | ||
RUN cd /root/tf-openpose/ && pip3 install -r requirements.txt | ||
|
||
ENTRYPOINT ["python3", "pose_dataworker.py"] | ||
|
||
ENV http_proxy= https_proxy= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.