AlphaPose ubuntu16 python2安装

论坛 期权论坛     
选择匿名的用户   2021-5-30 01:10   130   0
<div class="blogpost-body" id="cnblogs_post_body">
<p>#https://www.tensorflow.org/install/install_linux#ValidateYourInstallation</p>
<p>#https://github.com/MVIG-SJTU/AlphaPose</p>
<p>#https://github.com/torch/distro</p>
<p>gbt&#64;gbt-Precision-7720:~$ <br>gbt&#64;gbt-Precision-7720:~$ cd MVIG-SJTU<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ ls<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ git clone https://github.com/MVIG-SJTU/AlphaPose.git<br>正克隆到 &#39;AlphaPose&#39;...<br>remote: Counting objects: 1921, done.<br>remote: Compressing objects: 100% (152/152), done.<br>remote: Total 1921 (delta 120), reused 106 (delta 47), pack-reused 1722<br>接收对象中: 100% (1921/1921), 98.47 MiB | 870.00 KiB/s, 完成.<br>处理 delta 中: 100% (693/693), 完成.<br>检查连接... 完成。<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ ls<br>AlphaPose<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU$ cd AlphaPose<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose$ ls<br>doc       fetch_models.sh  install.sh  PoseFlow  README.md  train<br>examples  human-detection  LICENSE     predict   run.sh<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose$ cd human-detection<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection$ ls<br>docker  experiments  lib  LICENSE  README.md  requirements.txt  tools<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection$ cd lib<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection/lib$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection/lib$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection/lib$ ls<br>datasets     Makefile  nets    nms             setup.py<br>layer_utils  model     newnms  roi_data_layer  utils<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection/lib$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection/lib$ <br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection/lib$ make clean<br>rm -rf */*.pyc<br>rm -rf */*.so<br>gbt&#64;gbt-Precision-7720:~/MVIG-SJTU/AlphaPose/human-detection/lib$ make<br>python2 setup.py build_ext --inplace<br>running build_ext<br>cythoning utils/bbox.pyx to utils/bbox.c<br>building &#39;utils.cython_bbox&#39; extension<br>creating build<br>creating build/temp.linux-x86_64-2.7<br>creating build/temp.linux-x86_64-2.7/utils<br>{&#39;gcc&#39;: [&#39;-Wno-cpp&#39;, &#39;-Wno-unused-function&#39;]}<br>x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE&#61;2 -g -fstack-protector-strong -Wformat -Werror&#61;format-security -fPIC -I/home/gbt/.local/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c utils/bbox.c -o build/temp.linux-x86_64-2.7/utils/bbox.o -Wno-cpp -Wno-unused-function<br>x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE&#61;2 -g -fstack-protector-strong -Wformat -Werror&#61;format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE&#61;2 -g -fstack-protector-strong -Wformat -Werror&#61;format-security build/temp.linux-x86_64-2.7/utils/bbox.o -o /home/gbt/MVIG-SJTU/AlphaPose/human-detection/lib/utils/cython_bbox.so<br>cythoning utils/nms.pyx to utils/nms.c<br>building &#39;utils.cython_nms&#39; extension<br>{&#39;gcc&#39;: [&#39;-Wno-cpp&#39;, &#39;-Wno-unused-function&#39;]}<br>x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE&#61;2 -g -fstack-protector-strong -Wformat -Werror&#61;format-security -fPIC -I/home/gbt/.local/lib/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -c utils/nms.c -o build/temp.linux-x86_64-2.7/utils/nms.o -Wno-cpp -Wno-unused-function<br>x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE&#61;2 -g -fstack-protector-strong -Wformat -Werror&#61;format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE&#61;2 -g -fstack-protector-strong -Wformat -Werror&#61;format-security build/temp.linux-x86_64-2.7/utils/nms.o -o /home/gbt/MVIG-SJTU/Alp
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP