GithubHelp home page GithubHelp logo

pvnieo / clover Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 2.0 36 KB

Pytorch code for "Understanding and Improving Features Learned in Deep Functional Maps" - CVPR 2023

Home Page: https://arxiv.org/abs/2303.16527

License: GNU General Public License v3.0

Python 100.00%
pytorch

clover's Introduction

๐Ÿ€ clover ๐Ÿ€

Paper

Pytorch code for "Understanding and Improving Features Learned in Deep Functional Maps" - CVPR 2023

TLDR: To improve non-rigid shape matching experiments in the deep functional map setting, we recommend enforcing properness (see ยง 4.1) using DiffusionNet. Alternatively, incorporate smoothing blocks after each layer in your preferred architectures.


๐Ÿ‘ท Installation

This implementation requires Python >= 3.7. Install dependencies using pip:

pip install -r requirements.txt

๐Ÿ“– Usage

While this paper does not introduce a new architecture per se, it does provide improvements to existing network architectures within the deep functional maps framework. This repository includes code for producing the network architecture we used, in addition to how to compute a proper functional map.

These code blocks can be integrated into your preferred Deep Functional Maps codebase.

๐Ÿฅผ ASAP Network Architectures

In the paper, we evaluated three network architectures: DiffusionNet, DGCNN, and DeltaConv. For DiffusionNet, we used the original code base provided by the authors. For DGCNN and DeltaConv, we modified the original code base to include smoothing blocks, as described in ยง 4.2 of the paper. All code for these network architectures is located in the networks folder.

Each network takes an input feature (such as xyz coordinates, HKS, etc.) of size n x f, where n is the number of points and f is the number of features. The output of the network is a feature of size n x d, where d is the dimension of the output space. In addition, they take the spectral information of the shape (eigenvalues and eigenvectors of the Laplacian, and the mass vector) as input. For DiffusionNet, the tensor of gradients is also used, while DeltaConv additionally uses normals as per the original implementation.

ใ€ฝ๏ธ Enforcing Properness

We provide the code for enforcing properness of the functional map in fmap_utils.py. The function proper_fmap_computation takes as input the functional map and the spectral information of the shapes, along with the features used to compute the fmaps, and returns the proper functional map.

We recommend testing both the original and the proper version of the functional map in the loss function, depending on the task and dataset, to determine which combination yields the best results.

๐Ÿ“ˆ Results

If you wish to report our result, we have summarized them below. Our method is referred to as GeomFmaps - clover. X on Y indicates that the method was trained on dataset X and tested on dataset Y.

  • Near Isometric Shape Matching: We provide results on the FAUST (F), Scape (S), and SHREC (SH) datasets. We report the mean geodesic error, following the protocol used in all deep functional map papers, in both supervised and unsupervised settings.
Method F on F S on S F on S S on F F on SH S on SH
GeomFmaps - clover (supervised) 2.6 2.9 3.4 2.7 5.7 5.0
GeomFmaps - clover (unsupervised) 3.3 3.9 4.2 3.3 6.2 5.3
  • Non-Isometric Shape Matching: We provide results on the SMAL dataset. We report the mean geodesic error, following the same protocol as in all the deep functional maps papers, in both the supervised and unsupervised settings.
Method SMAL
GeomFmaps - clover (supervised) 4.7
GeomFmaps - clover (unsupervised) 5.1

๐ŸŽ“ Citation

If you find this work useful in your research, please consider citing:

@inproceedings{attaiki2023clover,
    title={Understanding and Improving Features Learned in Deep Functional Maps},
    author={Souhaib Attaiki and Maks Ovsjanikov},
    booktitle={The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
    month={June},
    year={2023}
}

clover's People

Contributors

pvnieo avatar

Stargazers

Xue Xingfei avatar  avatar Shelf_Zhang avatar Youngjo Min avatar Jibril Muhammad Adam avatar Puhua Jiang avatar

Watchers

 avatar Kostas Georgiou avatar  avatar yangwenjie avatar

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.