Giter Site home page Giter Site logo

Dataset Generating Code about humanmultiview HOT 10 OPEN

wine3603 avatar wine3603 commented on August 22, 2024
Dataset Generating Code

from humanmultiview.

Comments (10)

williamljb avatar williamljb commented on August 22, 2024

Hi wine3603,

Thanks for your interest! The generator is to provide code that generates the dataset. Below are some rough steps.

  1. Export pose and shape params from Moshed CMU datasets.
  2. Generate the body motion (in meshes) at each frame using SMPL.
  3. Use Arcsim to simulate the cloth motion (I used arcsim/conf/karate.json and arcsim/conf/dress.json), if the simulation failed, make sure the clothes are correctly registered on the body at time 0.
  4. Use Blender to render the results. Please refer to render/run_blender.sh and other related code for specific instructions.
  5. After completion of the rendering, use src_ortho/datasets/synthetic_to_tfrecords.py to generate the tfrecords that can be read by the learning code.

from humanmultiview.

wine3603 avatar wine3603 commented on August 22, 2024

Hey, man, thanks for your quick reply!
I tried to build the dataset codes, but there are bugs in the Makefile of the arcsim/dependence/

cd arcsim/dependencies
$ make
lib/libalglib.a lib/libjson.a lib/libtaucs.a
lib/libalglib.a: 2: lib/libalglib.a: Syntax error: newline unexpected
Makefile:4: recipe for target 'all' failed 

could you please help me to figure it out ?

from humanmultiview.

williamljb avatar williamljb commented on August 22, 2024

Hi wine3603,

It seems to be a bash failure due to incomplete downloads. Here is a relevant post: Ultimaker/cura-build#221 (comment)

from humanmultiview.

wine3603 avatar wine3603 commented on August 22, 2024

hi man, now I can make the dependences, but the next "make" I got these:

HumanMultiView/Dataset/data_generation/arcsim$ make
g++ build/release/auglag.o build/release/bah.o build/release/bvh.o build/release/cloth.o build/release/collision.o build/release/collisionutil.o build/release/conf.o build/release/constraint.o build/release/dde.o build/release/display.o build/release/displayphysics.o build/release/displayreplay.o build/release/displaytesting.o build/release/dynamicremesh.o build/release/geometry.o build/release/handle.o build/release/io.o build/release/lbfgs.o build/release/lsnewton.o build/release/magic.o build/release/main.o build/release/mesh.o build/release/misc.o build/release/morph.o build/release/mot_parser.o build/release/nearobs.o build/release/nlcg.o build/release/obstacle.o build/release/physics.o build/release/popfilter.o build/release/plasticity.o build/release/proximity.o build/release/remesh.o build/release/runphysics.o build/release/separate.o build/release/separateobs.o build/release/simulation.o build/release/spline.o build/release/strainlimiting.o build/release/taucs.o build/release/tensormax.o build/release/timer.o build/release/transformation.o build/release/trustregion.o build/release/util.o build/release/vectors.o build/release/refinemesh.o -o bin/arcsim -L/usr/lib64 -Ldependencies/lib -L/usr/lib64/atlas -lpng -lz -ltaucs -llapack -ltatlas -lsatlas -lgslcblas -lboost_filesystem -lboost_filesystem-mt -lboost_system-mt -lboost_thread-mt -ljson -lgomp -lalglib -lglut -lGLU -lGL 
/usr/bin/ld: cannot find -ltatlas
/usr/bin/ld: cannot find -lsatlas
/usr/bin/ld: cannot find -lgslcblas
/usr/bin/ld: cannot find -lboost_filesystem-mt
/usr/bin/ld: cannot find -lboost_system-mt
/usr/bin/ld: cannot find -lboost_thread-mt
collect2: error: ld returned 1 exit status
Makefile:79: recipe for target 'bin/arcsim' failed
make: *** [bin/arcsim] Error 1

I'm pretty sure I have atlas and boost installed and I tried all the ways I can to find the atlas pkg but stll get this error....
my system is ubuntu 1604, can you help me?

from humanmultiview.

williamljb avatar williamljb commented on August 22, 2024

Hi wine3603,

The command is using the following directories to find the libraries:
-L/usr/lib64 -Ldependencies/lib -L/usr/lib64/atlas

Are your libraries located in /usr/lib64 or /usr/lib64/atlas? If not, you will need to adjust it accordingly.

from humanmultiview.

wine3603 avatar wine3603 commented on August 22, 2024

Thanks for the quick reply! @williamljb

$ locate libatlas
/usr/lib/libatlas.a
/usr/lib/libatlas.so
/usr/lib/libatlas.so.3
/usr/lib/atlas-base/libatlas.a
/usr/lib/atlas-base/libatlas.so
/usr/lib/atlas-base/libatlas.so.3
/usr/lib/atlas-base/libatlas.so.3.0
/usr/share/doc/libatlas-base-dev
/usr/share/doc/libatlas-dev
/usr/share/doc/libatlas3-base
/usr/share/doc/libatlas-base-dev/README
/usr/share/doc/libatlas-base-dev/changelog.Debian.gz
/usr/share/doc/libatlas-base-dev/copyright
/usr/share/doc/libatlas-dev/README
/usr/share/doc/libatlas-dev/changelog.Debian.gz
/usr/share/doc/libatlas-dev/copyright
/usr/share/doc/libatlas3-base/README
/usr/share/doc/libatlas3-base/README.Debian
/usr/share/doc/libatlas3-base/TODO.Debian
/usr/share/doc/libatlas3-base/changelog.Debian.gz
/usr/share/doc/libatlas3-base/copyright
/var/lib/dpkg/info/libatlas-base-dev.list
/var/lib/dpkg/info/libatlas-base-dev.md5sums
/var/lib/dpkg/info/libatlas-base-dev.postinst
/var/lib/dpkg/info/libatlas-base-dev.preinst
/var/lib/dpkg/info/libatlas-base-dev.prerm
/var/lib/dpkg/info/libatlas-dev.list
/var/lib/dpkg/info/libatlas-dev.md5sums
/var/lib/dpkg/info/libatlas3-base.list
/var/lib/dpkg/info/libatlas3-base.md5sums
/var/lib/dpkg/info/libatlas3-base.postinst
/var/lib/dpkg/info/libatlas3-base.preinst
/var/lib/dpkg/info/libatlas3-base.prerm
/var/lib/dpkg/info/libatlas3-base.shlibs
/var/lib/dpkg/info/libatlas3-base.triggers

I think libatlas is in my /usr/lib/,
I modefied your Makefile to be
-L/usr/lib -Ldependencies/lib -L/usr/lib/atlas
but the error remains....

from humanmultiview.

williamljb avatar williamljb commented on August 22, 2024

Try replacing '-ltatlas -lsatlas' with '-latlas'. I remembered Atlas has many different versions with many different library names. Basically, the '-l$name' matches the libraries named with 'lib$name.so'.

from humanmultiview.

wine3603 avatar wine3603 commented on August 22, 2024

New Bug:

make
g++ build/release/auglag.o build/release/bah.o build/release/bvh.o build/release/cloth.o build/release/collision.o build/release/collisionutil.o build/release/conf.o build/release/constraint.o build/release/dde.o build/release/display.o build/release/displayphysics.o build/release/displayreplay.o build/release/displaytesting.o build/release/dynamicremesh.o build/release/geometry.o build/release/handle.o build/release/io.o build/release/lbfgs.o build/release/lsnewton.o build/release/magic.o build/release/main.o build/release/mesh.o build/release/misc.o build/release/morph.o build/release/mot_parser.o build/release/nearobs.o build/release/nlcg.o build/release/obstacle.o build/release/physics.o build/release/popfilter.o build/release/plasticity.o build/release/proximity.o build/release/remesh.o build/release/runphysics.o build/release/separate.o build/release/separateobs.o build/release/simulation.o build/release/spline.o build/release/strainlimiting.o build/release/taucs.o build/release/tensormax.o build/release/timer.o build/release/transformation.o build/release/trustregion.o build/release/util.o build/release/vectors.o build/release/refinemesh.o -o bin/arcsim -L/usr/lib/x86_64-linux-gnu -Ldependencies/lib -L/usr/lib/ -lpng -lz -ltaucs -llapack -latlas -lgslcblas -lboost_filesystem -lboost_filesystem -lboost_system -lboost_thread -ljson -lgomp -lalglib -lglut -lGLU -lGL 
/usr/bin/ld: dependencies/lib/libtaucs.a(taucs_ccs_ooc_llt_C.o): undefined reference to symbol 'cgemm_'
//usr/lib/libopenblas.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:79: recipe for target 'bin/arcsim' failed
make: *** [bin/arcsim] Error 1

BTW, in arcsim/dependencies/make,
it says
make: Nothing to be done for 'all'.
Is this right? I think maybe something wrong in the dependence makefile as well....

from humanmultiview.

williamljb avatar williamljb commented on August 22, 2024

You will probably need to recompile the dependencies. Try 'make clean' and then 'make' in the dependency directory.

from humanmultiview.

FishWoWater avatar FishWoWater commented on August 22, 2024

It seems that your modified version does not support SMPL forward kinematics, it stills uses puppet model as vanilla arcsim, right?

from humanmultiview.

Related Issues (10)

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.