Coder Social home page Coder Social logo

yunyung / characteristic-preserving-latent-space-for-unpaired-cross-domain-translation-of-3d-point-clouds Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 149 KB

"Characteristic-preserving Latent Space for Unpaired Cross-domain Translation of 3D Point Clouds," accepted to appear in IEEE Transactions on Visualization and Computer Graphics, 2023.

Python 100.00%

characteristic-preserving-latent-space-for-unpaired-cross-domain-translation-of-3d-point-clouds's Introduction

Jia-Wen Zheng, Jhen-Yung Hsu, Chih-Chia Li, and I-Chen Lin

Prerequisites

Install

We conducted experiments on NVIDIA GeForce RTX 2080 SUPER, RTX 2070 and NVIDIA Tesla P100 GPU, and installed packages in the following process:

conda create -n CharPresTrans python=3.6
conda activate CharPresTrans
conda install pytorch=0.4.1 cuda92 -c pytorch
conda install -c pytorch torchvision=0.2.1
conda install -c conda-forge pyntcloud
pip install visdom
pip install pyyaml
conda install -c conda-forge matplotlib
conda install -c conda-forge cupy=9.6
conda install -c anaconda scikit-learn

Dataset

Usage

  • training: change dataset_path in configs/config_chair_table.yaml run visdom run python3 train.py --config configs/config_chair_table.yaml or python3 train.py --config configs/config_fit_fat.yaml or python3 train.py --config configs/config_p2p.yaml (loss curves plotted in http://localhost:8097)

  • calculate CD and EMD for autoencoder: run function calculate_chamfer_emd in test.py

  • save images (matplotlib version): change the path in configs/config_chair_table.yaml

    • save all reconstructed and transferred results: run function save_all_images in test.py
    • save shape style mixing results: run function save_shape_style_mixing_images in test.py
    • save MVS results: change class_choice in configs/config_chair_table.yaml run function save_MVS_images in test.py
  • save npy file: change the path in configs/config_chair_table.yaml

    • save reconstructed and transferred npy file: change points_index in configs/config_chair_table.yaml run function save_npy_index in test.py
    • save shape style mixing npy file: change points_index_1 and points_index_2 in configs/config_chair_table.yaml run function save_shape_style_mixing_npy in test.py
    • save MVS npy file: change class_choice in configs/config_chair_table.yaml change points_index in configs/config_chair_table.yaml run function save_MVS_npy in test.py
  • show tsne results: run function plot_tsne in test.py

  • generate images for paper download mitsuba2 (https://www.mitsuba-renderer.org/) save point cloud files by the functions in test.py and plot files with mitsuba2

  • visualization in web cd visualization file run python3 app.py change the index in function test

  • generate gif cd visualization file run python3 app_screenshot.py to generate multiple views upload images to https://gifmaker.me/ to generate gif files

Reference

LOGAN, https://github.com/kangxue/LOGAN

PointNet++, https://github.com/charlesq34/pointnet2

P2P-Net, https://github.com/kangxue/P2P-NET

RSCNN, https://github.com/Yochengliu/Relation-Shape-CNN

TreeGCN, https://openaccess.thecvf.com/content_ICCV_2019/papers/Shu_3D_Point_Cloud_Generative_Adversarial_Network_Based_on_Tree_Structured_ICCV_2019_paper.pdf

characteristic-preserving-latent-space-for-unpaired-cross-domain-translation-of-3d-point-clouds's People

Contributors

yunyung avatar

Stargazers

 avatar

Watchers

 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.