Skip to content

marvin-eisenberger/hamiltonian-interpolation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hamiltonian Dynamics for Real-World Shape Interpolation

Requirements

  • Python Version >= 3.6
  • PyTorch 1.4
  • CUDA 9.2 or 10.1
  • torch-geometric library

Run the test script

  • python3 main_interpolation.py
  • You can specify to compute an interpolation with one of the other methods in the main script in main_interpolation.py

Use your own examples

  • For different input shapes, see tools/shape_utils.py to load shapes with an equivalent meshing and tools/partial_shapes.py for shapes with incompatible meshing or partial shapes.
  • You can also prepare the input pair such that they have compatible vertices, e.g. by transferring the meshing with the correspondences beforehand.
  • Compute interpolations for a complete dataset with the routine "main_dataset" in main_interpolation.py
  • Evaluate the error metrics from the paper with the scripts in interpolation/eval_interpolation.py

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages