In order to describe the problem which I meeted more clearly, I added some messages from the terminal before the step ./experiments/scripts/demo.sh $GPU_ID
as follows:
ย
When I went to the second step by running:
/usr/bin/cmake: /home/ubuntu/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/ubuntu/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/ubuntu/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
Scanning dependencies of target synthesizer
/usr/bin/cmake: /home/ubuntu/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 25%] Building CXX object CMakeFiles/synthesizer.dir/synthesize.cpp.o
In file included from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.hpp:49:0,
from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1:
/home/ubuntu/PoseCNN/lib/synthesize/types.h: In function \u2018cv::Mat jp::float2double(cv::Mat&)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/types.h:159:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned i = 0; i < fmat.cols; i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/types.h:160:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned j = 0; j < fmat.rows; j++)
^
/home/ubuntu/PoseCNN/lib/synthesize/types.h: In function \u2018cv::Mat jp::double2float(cv::Mat&)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/types.h:176:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned i = 0; i < dmat.cols; i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/types.h:177:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned j = 0; j < dmat.rows; j++)
^
In file included from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.hpp:50:0,
from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1:
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h: In constructor \u2018TransHyp::TransHyp(jp::id_t, jp::cv_trans_t)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:44:17: warning: \u2018TransHyp::pose\u2019 will be initialized after [-Wreorder]
jp::cv_trans_t pose; // the actual transformation
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:43:11: warning: \u2018jp::id_t TransHyp::objID\u2019 [-Wreorder]
jp::id_t objID; // ID of the object this hypothesis belongs to
^
In file included from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.hpp:50:0,
from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1:
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:40:2: warning: when initialized here [-Wreorder]
TransHyp(jp::id_t objID, jp::cv_trans_t pose) : pose(pose), objID(objID), inli
^
In file included from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.hpp:50:0,
from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1:
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:59:6: warning: \u2018TransHyp::inliers\u2019 will be initialized after [-Wreorder]
int inliers; // how many of them were inliers
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:56:6: warning: \u2018int TransHyp::maxPixels\u2019 [-Wreorder]
int maxPixels; // how many pixels should be maximally drawn to score this hyp
^
In file included from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.hpp:50:0,
from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1:
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:40:2: warning: when initialized here [-Wreorder]
TransHyp(jp::id_t objID, jp::cv_trans_t pose) : pose(pose), objID(objID), inli
^
In file included from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.hpp:50:0,
from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1:
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:62:6: warning: \u2018TransHyp::refSteps\u2019 will be initialized after [-Wreorder]
int refSteps; // how many iterations has this hyp been refined?
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:60:8: warning: \u2018float TransHyp::likelihood\u2019 [-Wreorder]
float likelihood; // likelihood of this hypothesis (optimization using uncerta
^
In file included from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.hpp:50:0,
from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1:
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:40:2: warning: when initialized here [-Wreorder]
TransHyp(jp::id_t objID, jp::cv_trans_t pose) : pose(pose), objID(objID), inli
^
In file included from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.hpp:50:0,
from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1:
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h: In constructor \u2018TransHyp::TransHyp(jp::id_t, cv::Point2d)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:46:21: warning: \u2018TransHyp::center\u2019 will be initialized after [-Wreorder]
cv::Point2d center; // object center
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:43:11: warning: \u2018jp::id_t TransHyp::objID\u2019 [-Wreorder]
jp::id_t objID; // ID of the object this hypothesis belongs to
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:41:9: warning: when initialized here [-Wreorder]
TransHyp(jp::id_t objID, cv::Point2d center) : center(center), objID(ob
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:59:6: warning: \u2018TransHyp::inliers\u2019 will be initialized after [-Wreorder]
int inliers; // how many of them were inliers
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:56:6: warning: \u2018int TransHyp::maxPixels\u2019 [-Wreorder]
int maxPixels; // how many pixels should be maximally drawn to score this hyp
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:41:9: warning: when initialized here [-Wreorder]
TransHyp(jp::id_t objID, cv::Point2d center) : center(center), objID(ob
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:62:6: warning: \u2018TransHyp::refSteps\u2019 will be initialized after [-Wreorder]
int refSteps; // how many iterations has this hyp been refined?
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:60:8: warning: \u2018float TransHyp::likelihood\u2019 [-Wreorder]
float likelihood; // likelihood of this hypothesis (optimization using uncerta
^
/home/ubuntu/PoseCNN/lib/synthesize/ransac.h:41:9: warning: when initialized here [-Wreorder]
TransHyp(jp::id_t objID, cv::Point2d center) : center(center), objID(ob
^
In file included from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.hpp:52:0,
from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1:
/home/ubuntu/PoseCNN/lib/synthesize/detection.h: In function \u2018cv::Rect getBB2D(int, int, const std::vector<cv::Point3_<float> >&, const cv::Mat&, const jp_trans_t&)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/detection.h:130:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < bb3D.size(); i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018aiMesh* Synthesizer::loadTexturedMesh(std::__cxx11::string, std::__cxx11::string&)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:209:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < scene->mNumMaterials; ++i)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::render(int, int, float, float, float, float, float, float, unsigned char*, float*, float*, float*, float*, float*, float*, float*, float)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:501:31: warning: narrowing conversion of \u2018drand(-1.0e+0, 1.0e+0, -1)\u2019 from \u2018double\u2019 to \u2018GLfloat {aka float}\u2019 inside { } [-Wnarrowing]
GLfloat lightpos0[] = {drand(-1, 1), drand(-1, 1), drand(0.2, 5), 1.};
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:501:45: warning: narrowing conversion of \u2018drand(-1.0e+0, 1.0e+0, -1)\u2019 from \u2018double\u2019 to \u2018GLfloat {aka float}\u2019 inside { } [-Wnarrowing]
GLfloat lightpos0[] = {drand(-1, 1), drand(-1, 1), drand(0.2, 5), 1.};
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:501:59: warning: narrowing conversion of \u2018drand(2.0000000000000001e-1, 5.0e+0, -1)\u2019 from \u2018double\u2019 to \u2018GLfloat {aka float}\u2019 inside { } [-Wnarrowing]
GLfloat lightpos0[] = {drand(-1, 1), drand(-1, 1), drand(0.2, 5), 1.};
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::render_one(int, int, int, float, float, float, float, float, float, unsigned char*, float*, float*, float*, float*, float*)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:775:31: warning: narrowing conversion of \u2018drand(-1.0e+0, 1.0e+0, -1)\u2019 from \u2018double\u2019 to \u2018GLfloat {aka float}\u2019 inside { } [-Wnarrowing]
GLfloat lightpos0[] = {drand(-1, 1), drand(-1, 1), drand(0.2, 5), 1.};
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:775:45: warning: narrowing conversion of \u2018drand(-1.0e+0, 1.0e+0, -1)\u2019 from \u2018double\u2019 to \u2018GLfloat {aka float}\u2019 inside { } [-Wnarrowing]
GLfloat lightpos0[] = {drand(-1, 1), drand(-1, 1), drand(0.2, 5), 1.};
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:775:59: warning: narrowing conversion of \u2018drand(2.0000000000000001e-1, 5.0e+0, -1)\u2019 from \u2018double\u2019 to \u2018GLfloat {aka float}\u2019 inside { } [-Wnarrowing]
GLfloat lightpos0[] = {drand(-1, 1), drand(-1, 1), drand(0.2, 5), 1.};
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:688:10: warning: variable \u2018pose\u2019 set but not used [-Wunused-but-set-variable]
float* pose = poses_[class_id] + seed * 7;
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::getLabels(const int*, std::vector<std::vector<int> >&, std::vector<int>&, int, int, int, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:911:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (labels[i].size() > minArea)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018std::vector<TransHyp*> Synthesizer::getWorkingQueue(std::map<short unsigned int, std::vector<TransHyp> >&, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1035:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0; h < it->second.size(); h++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::countInliers2D(TransHyp&, const cv::Mat&, const std::vector<std::vector<int> >&, const float*, const float*, float, int, int, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1080:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned ptIdx = 0; ptIdx < maxPt;)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::countInliers3D(TransHyp&, const std::vector<std::vector<int> >&, const float*, const float*, const img_coord_t&, float, int, int, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1140:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned ptIdx = 0; ptIdx < maxPt;)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::filterInliers2D(TransHyp&, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1178:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(hyp.inlierPts2D.size() < maxInliers) return; // maximum number not reached
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1183:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned i = 0; i < maxInliers; i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::filterInliers3D(TransHyp&, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1195:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(hyp.inlierPts.size() < maxInliers) return; // maximum number not reached,
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1200:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned i = 0; i < maxInliers; i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::updateHyp2D(TransHyp&, const cv::Mat&, int, int, const std::vector<cv::Point3_<float> >&, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1218:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < hyp.inlierPts2D.size(); i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In function \u2018double optEnergy2D(const std::vector<double>&, std::vector<double>&, void*)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1331:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < dataForOpt->hyp->inlierPts2D.size(); i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1336:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int pt = 0; pt < dataForOpt->hyp->inlierPts2D.size(); pt++) // iterate ov
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In function \u2018double optEnergy3D(const std::vector<double>&, std::vector<double>&, void*)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1371:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int pt = 0; pt < dataForOpt->hyp->inlierPts.size(); pt++) // iterate over
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018double Synthesizer::refineWithOpt(TransHyp&, cv::Mat&, int, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1440:17: warning: unused variable \u2018result\u2019 [-Wunused-variable]
nlopt::result result = opt.optimize(vec, energy);
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::estimatePose2D(const int*, const float*, const float*, int, int, int, float, float, float, float, float*)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1499:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned h = 0; h < ransacIterations; h++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1500:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned i = 0; i < maxIterations; i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1595:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0; h < workingQueue.size(); h++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1613:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0; h < workingQueue.size(); h++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1623:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0; h < it->second.size(); h++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::estimatePose3D(const int*, unsigned char*, const float*, const float*, int, int, int, float, float, float, float, float, float*)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1699:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned h = 0; h < ransacIterations; h++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1700:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned i = 0; i < maxIterations; i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1794:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0; h < workingQueue.size(); h++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1812:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0; h < workingQueue.size(); h++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1822:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int h = 0; h < it->second.size(); h++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::refinePose(int, int, int, float, float, const int*, DataForOpt, df::Poly3CameraModel<float>, Sophus::SE3f&, int, float, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1898:13: warning: unused variable \u2018energy\u2019 [-Wunused-variable]
float energy = poseWithOpt(vec, data, iterations);
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::solveICP(const int*, unsigned char*, int, int, float, float, float, float, float, float, float, int, int, const float*, const float*, float*, float*, float)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:2040:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < label_indexes_.size(); j++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:2149:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < hyps.size(); j++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:2174:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < hyps.size(); j++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:2179:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < model_points.size(); k++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::visualizePose(int, int, float, float, float, float, float, float, const float*, float*, int, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:2276:9: warning: unused variable \u2018threshold\u2019 [-Wunused-variable]
float threshold = 0.1;
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In function \u2018double optEnergy(const std::vector<double>&, std::vector<double>&, void*)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:2362:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < dataForOpt->label_indexes->size(); i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:2355:7: warning: unused variable \u2018height\u2019 [-Wunused-variable]
int height = dataForOpt->height;
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:2356:7: warning: unused variable \u2018objID\u2019 [-Wunused-variable]
int objID = dataForOpt->objID;
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:2357:14: warning: unused variable \u2018labelmap\u2019 [-Wunused-variable]
const int* labelmap = dataForOpt->labelmap;
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018double Synthesizer::poseWithOpt(std::vector<double>&, DataForOpt, int)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:2431:17: warning: unused variable \u2018result\u2019 [-Wunused-variable]
nlopt::result result = opt.optimize(vec, energy);
^
In file included from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.hpp:41:0,
from /home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:1:
/home/ubuntu/PoseCNN/lib/kinect_fusion/include/df/prediction/glRender.h: In instantiation of \u2018void df::GLRenderer<RenderType>::render(const std::vector<std::vector<pangolin::GlBuffer*> >&, const std::vector<pangolin::GlBuffer*>&, const std::vector<Eigen::Matrix<float, 4, 4> >&, GLenum) [with RenderType = df::CanonicalVertRenderType; GLenum = unsigned int]\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:435:68: required from here
/home/ubuntu/PoseCNN/lib/kinect_fusion/include/df/prediction/glRender.h:274:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int m = 0; m < vertexAttributeBuffers.size(); ++m) {
^
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp: In member function \u2018void Synthesizer::loadPoses(std::__cxx11::string)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/synthesize.cpp:130:33: warning: ignoring return value of \u2018int fscanf(FILE*, const char*, ...)\u2019, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp, "%f", pose + i);
^
/usr/bin/cmake: /home/ubuntu/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 50%] Building CXX object CMakeFiles/synthesizer.dir/thread_rand.cpp.o
/usr/bin/cmake: /home/ubuntu/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[ 75%] Building CXX object CMakeFiles/synthesizer.dir/Hypothesis.cpp.o
In file included from /home/ubuntu/PoseCNN/lib/synthesize/Hypothesis.h:34:0,
from /home/ubuntu/PoseCNN/lib/synthesize/Hypothesis.cpp:28:
/home/ubuntu/PoseCNN/lib/synthesize/types.h: In function \u2018cv::Mat jp::float2double(cv::Mat&)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/types.h:159:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned i = 0; i < fmat.cols; i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/types.h:160:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned j = 0; j < fmat.rows; j++)
^
/home/ubuntu/PoseCNN/lib/synthesize/types.h: In function \u2018cv::Mat jp::double2float(cv::Mat&)\u2019:
/home/ubuntu/PoseCNN/lib/synthesize/types.h:176:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned i = 0; i < dmat.cols; i++)
^
/home/ubuntu/PoseCNN/lib/synthesize/types.h:177:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned j = 0; j < dmat.rows; j++)
^
/usr/bin/cmake: /home/ubuntu/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[100%] Linking CXX shared library libsynthesizer.so
/usr/bin/cmake: /home/ubuntu/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
/usr/bin/cmake: /home/ubuntu/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
[100%] Built target synthesizer
/usr/bin/cmake: /home/ubuntu/anaconda2/lib/libcurl.so.4: no version information available (required by /usr/bin/cmake)
cythoning normals/gpu_normals.pyx to normals/gpu_normals.cpp
building 'normals.gpu_normals' extension
/usr/local/cuda/bin/nvcc -I/home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/local/include/eigen3 -I/home/ubuntu/anaconda2/include/python2.7 -c normals/compute_normals.cu -o build/temp.linux-x86_64-2.7/normals/compute_normals.o -arch=sm_35 --ptxas-options=-v -c --compiler-options '-fPIC'
ptxas info : 0 bytes gmem
ptxas info : Compiling entry function '_Z17computeNmapKernelPfS_ii' for 'sm_35'
ptxas info : Function properties for _Z17computeNmapKernelPfS_ii
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 20 registers, 344 bytes cmem[0], 8 bytes cmem[2]
ptxas info : Compiling entry function '_Z17computeVmapKernelPfS_fffffii' for 'sm_35'
ptxas info : Function properties for _Z17computeVmapKernelPfS_fffffii
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 8 registers, 364 bytes cmem[0]
gcc -pthread -B /home/ubuntu/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include -I/usr/local/cuda/include -I/usr/local/include/eigen3 -I/home/ubuntu/anaconda2/include/python2.7 -c normals/gpu_normals.cpp -o build/temp.linux-x86_64-2.7/normals/gpu_normals.o -Wno-unused-function
cc1plus: warning: command line option \u2018-Wstrict-prototypes\u2019 is valid for C/ObjC but not for C++
In file included from /home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0,
from /home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from normals/gpu_normals.cpp:499:
/home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
g++ -pthread -shared -B /home/ubuntu/anaconda2/compiler_compat -L/home/ubuntu/anaconda2/lib -Wl,-rpath=/home/ubuntu/anaconda2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-2.7/normals/compute_normals.o build/temp.linux-x86_64-2.7/normals/gpu_normals.o -L/usr/local/cuda/lib64 -L/home/ubuntu/anaconda2/lib -Wl,-R/usr/local/cuda/lib64 -lcudart -lpython2.7 -o /home/ubuntu/PoseCNN/lib/normals/gpu_normals.so
cythoning utils/bbox.pyx to utils/bbox.c
building 'utils.cython_bbox' extension
gcc -pthread -B /home/ubuntu/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include -I/home/ubuntu/anaconda2/include/python2.7 -c utils/bbox.c -o build/temp.linux-x86_64-2.7/utils/bbox.o -Wno-cpp -Wno-unused-function
gcc -pthread -shared -B /home/ubuntu/anaconda2/compiler_compat -L/home/ubuntu/anaconda2/lib -Wl,-rpath=/home/ubuntu/anaconda2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-2.7/utils/bbox.o -L/home/ubuntu/anaconda2/lib -lpython2.7 -o /home/ubuntu/PoseCNN/lib/utils/cython_bbox.so
cythoning nms/cpu_nms.pyx to nms/cpu_nms.c
building 'nms.cpu_nms' extension
gcc -pthread -B /home/ubuntu/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include -I/home/ubuntu/anaconda2/include/python2.7 -c nms/cpu_nms.c -o build/temp.linux-x86_64-2.7/nms/cpu_nms.o -Wno-cpp -Wno-unused-function
gcc -pthread -shared -B /home/ubuntu/anaconda2/compiler_compat -L/home/ubuntu/anaconda2/lib -Wl,-rpath=/home/ubuntu/anaconda2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-2.7/nms/cpu_nms.o -L/home/ubuntu/anaconda2/lib -lpython2.7 -o /home/ubuntu/PoseCNN/lib/nms/cpu_nms.so
cythoning nms/gpu_nms.pyx to nms/gpu_nms.cpp
building 'nms.gpu_nms' extension
/usr/local/cuda/bin/nvcc -I/home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include -I/usr/local/cuda/include -I/home/ubuntu/anaconda2/include/python2.7 -c nms/nms_kernel.cu -o build/temp.linux-x86_64-2.7/nms/nms_kernel.o -arch=sm_52 --ptxas-options=-v -c --compiler-options '-fPIC'
ptxas info : 0 bytes gmem
ptxas info : Compiling entry function '_Z10nms_kernelifPKfPy' for 'sm_52'
ptxas info : Function properties for _Z10nms_kernelifPKfPy
0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info : Used 22 registers, 1280 bytes smem, 344 bytes cmem[0], 12 bytes cmem[2]
gcc -pthread -B /home/ubuntu/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include -I/usr/local/cuda/include -I/home/ubuntu/anaconda2/include/python2.7 -c nms/gpu_nms.cpp -o build/temp.linux-x86_64-2.7/nms/gpu_nms.o -Wno-unused-function
cc1plus: warning: command line option \u2018-Wstrict-prototypes\u2019 is valid for C/ObjC but not for C++
In file included from /home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0,
from /home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from nms/gpu_nms.cpp:499:
/home/ubuntu/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
g++ -pthread -shared -B /home/ubuntu/anaconda2/compiler_compat -L/home/ubuntu/anaconda2/lib -Wl,-rpath=/home/ubuntu/anaconda2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-2.7/nms/nms_kernel.o build/temp.linux-x86_64-2.7/nms/gpu_nms.o -L/usr/local/cuda/lib64 -L/home/ubuntu/anaconda2/lib -Wl,-R/usr/local/cuda/lib64 -lcudart -lpython2.7 -o /home/ubuntu/PoseCNN/lib/nms/gpu_nms.so
cythoning synthesize/synthesizer.pyx to synthesize/synthesizer.cpp
building 'synthesize.synthesizer' extension
gcc -pthread -B /home/ubuntu/anaconda2/compiler_compat -Wl,--sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/ubuntu/anaconda2/include/python2.7 -c synthesize/synthesizer.cpp -o build/temp.linux-x86_64-2.7/synthesize/synthesizer.o -Wno-unused-function
cc1plus: warning: command line option \u2018-Wstrict-prototypes\u2019 is valid for C/ObjC but not for C++
In file included from /usr/include/numpy/ndarraytypes.h:1777:0,
from /usr/include/numpy/ndarrayobject.h:18,
from /usr/include/numpy/arrayobject.h:4,
from synthesize/synthesizer.cpp:504:
/usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by " \
^
g++ -pthread -shared -B /home/ubuntu/anaconda2/compiler_compat -L/home/ubuntu/anaconda2/lib -Wl,-rpath=/home/ubuntu/anaconda2/lib -Wl,--no-as-needed -Wl,--sysroot=/ build/temp.linux-x86_64-2.7/synthesize/synthesizer.o synthesize/build/libsynthesizer.so -L/home/ubuntu/anaconda2/lib -lpython2.7 -o /home/ubuntu/PoseCNN/lib/synthesize/synthesizer.so