Giter Site home page Giter Site logo

Comments (10)

wtnan2003 avatar wtnan2003 commented on May 26, 2024

@AlexHu123 Have you solve the fussy environmental work? a docker image would be helpful

from monoculartotalcapture.

AlexHu123 avatar AlexHu123 commented on May 26, 2024

Thanks for your reply! I have solved the environmental work. It is quite tricky and needs to be careful at every step~ If having time, I may write a blog on how to install it, and will let you know as reference~

from monoculartotalcapture.

wtnan2003 avatar wtnan2003 commented on May 26, 2024

@AlexHu123 Hi,I meet some problem:

Root Directory: /home/nd/MonocularTotalCapture/data
Sequence Name: example_dance
run_pipeline.sh: line 58: 16476 Segmentation fault  (core dumped) 
./build/run_fitting --root_dirs $dataDir --seqName $seqName --start 1 --end $((numFrame +1)) --stage 1 --imageOF                                                       

Detail in
issue 33#

Have you also meet the problem before?
Any help would be greatly appreciated.

from monoculartotalcapture.

neccam avatar neccam commented on May 26, 2024

See PR #35 for the docker image

from monoculartotalcapture.

cbsudux avatar cbsudux commented on May 26, 2024

@neccam I'm building your image and I keep running into Caffe not found. Either turn on the BUILD_CAFFE option or specify the path of Caffe includes and libs using -DCaffe_INCLUDE_DIRS and -DCaffe_LIBS.

This happens when building OpenPose :
cmake -DCaffe_INCLUDE_DIRS=$CAFFE_ROOT/build/install/include \ -DCaffe_LIBS=$CAFFE_ROOT/build/install/lib/libcaffe.so \ -DBUILD_CAFFE=OFF \ -DDOWNLOAD_BODY_COCO_MODEL=ON \ -DDOWNLOAD_BODY_MPI_MODEL=ON \ .. &&

DCaffe_INCLUDE_DIRS=$CAFFE_ROOT/build/install/include and -DCaffe_LIBS=$CAFFE_ROOT/build/install/lib/libcaffe.so` don't seem to be recognized by cmake.

What do I do?

from monoculartotalcapture.

neccam avatar neccam commented on May 26, 2024

It should work as is, but I will have a look into it.
In the meantime, it would be good to know if anyone else has a similar issue.

from monoculartotalcapture.

cbsudux avatar cbsudux commented on May 26, 2024

This seems to be an issue with OpenPose. Have a look at this issue : CMU-Perceptual-Computing-Lab/openpose#1575

It's an issue with building openpose with pre-built caffe. Is there a reason you build caffe first and then openpose? You seem to make a few changes to the caffe makefile in the dockerfile.

from monoculartotalcapture.

cbsudux avatar cbsudux commented on May 26, 2024

Update. Solved it by using the previous OpenPose release.
@neccam Does the visualization work if I'm running the container on a remote server?

from monoculartotalcapture.

neccam avatar neccam commented on May 26, 2024

Great, can you share what you have changed so that others can also benefit?

Depends on how you access to the remote server. My best guess would be to setup a ssh deamon inside the docker container and ssh -x to it. But I haven't tried this.

from monoculartotalcapture.

cbsudux avatar cbsudux commented on May 26, 2024

Couple of changes:

  • git reset --hard d78ae77 OpenPose commit on Jan 20th. Assumed this would be the one you used
  • Add these flags. -DCUDA_ARCH=Manual -DCUDA_ARCH_BIN="50 52 60 61" -DCUDA_ARCH_PTX="50 52 60 61". Cuda 9.0 doesn't work on a GPU with compute capability of 7.5 (T4, RTX series) OpenPose builds for all cc's and the build fails. So manually specify.

Here's the code block. Copy and replace in DockerFile.

ENV OPENPOSE_ROOT=/opt/openpose WORKDIR $OPENPOSE_ROOT RUN git clone https://github.com/CMU-Perceptual-Computing-Lab/openpose.git . && \ git reset --hard d78ae77 && \ sed -i 's/set(Caffe_known_gpu_archs "${KEPLER} ${MAXWELL} ${PASCAL} ${VOLTA} ${TURING}")/set(Caffe_known_gpu_archs "${KEPLER} ${MAXWELL} ${PASCAL}")/' /opt/openpose/cmake/Cuda.cmake && \ mkdir build && cd build && \ cmake -DCaffe_LIBS=$CAFFE_ROOT/build/install/lib/libcaffe.so \ -DCaffe_INCLUDE_DIRS=$CAFFE_ROOT/build/install/include \ -DBUILD_CAFFE=OFF \ -DDOWNLOAD_BODY_COCO_MODEL=ON \ -DDOWNLOAD_BODY_MPI_MODEL=ON \ -DCUDA_ARCH=Manual -DCUDA_ARCH_BIN="50 52 60 61" -DCUDA_ARCH_PTX="50 52 60 61" .. && \ make all -j8 && \ make install

from monoculartotalcapture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.