• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created about 3 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[NeurIPS 2021] Garment4D: Garment Reconstruction from Point Cloud Sequences

Garment4D

[PDF] | [OpenReview] | [arXiv] | [Project Page]

1. Overview

This is the codebase for our NeurIPS 2021 paper Garment4D: Garment Reconstruction from Point Cloud Sequences.

teaser

For further information, please contact Fangzhou Hong.

2. News

  • 2021-12 Code release!
  • 2021-09 Garment4D is accepted to NeurIPS 2021.

3. Getting Started

3.1 Setup the Environment

The code has been tested with Python 3.7.9, PyTorch 1.5.0, CUDA 10.1. Other required packages include:

Other than the above packages, please also compile the cuda kernels required by PointNet++ by executing python setup.py install under modules/pointnet2/pointnet2.

3.2 Download SMPL model files

Please register and download SMPL model files here. Then please put the model files at smplx/model. The folder structure should be like

./
├── 
├── ...
└── smplx/
    ├── models/
        ├── smpl/
            ├── SMPL_MALE.pkl
            ├── SMPL_FEMALE.pkl
            └── SMPL_NEUTRAL.pkl
    ├── ...

3.3 Setup the Dataset

Please download the processed CLOTH3D dataset using the following links. Due the size of the whole dataset is big (~160 GB), we split the archieve into several 10 GB chunks. You could combine them by cat CLOTH3D.z* > merged_CLOTH3D.zip and unzip it and put it under dataset.

CLOTH3D.z01 CLOTH3D.z02 CLOTH3D.z03 CLOTH3D.z04
CLOTH3D.z05 CLOTH3D.z06 CLOTH3D.z07 CLOTH3D.z08
CLOTH3D.z09 CLOTH3D.z10 CLOTH3D.z11 CLOTH3D.z12
CLOTH3D.z13 CLOTH3D.z14 CLOTH3D.z15 CLOTH3D.zip

The folder structure should look like

./
├── 
├── ...
└── dataset/
    ├──CLOTH3D/
        ├── CLOTH3D/
        ├── CLOTH3D_template/
        ├── list/
        ├── Skirt_reg/
        ├── Trousers_reg/
        └── Tshirt_reg/

3.4 Download the Pre-train Models

Please download the pre-train models using the following links and put them under pretrain.

Pre-train Model Download Link L2 Error on CLOTH3D (Posed) [mm]
skirt.ckpt link 49.23
trousers.ckpt link 25.46
tshirt.ckpt link 37.95

The folder structure should look like

./
├── 
├── ...
└── pretrain/
    ├── skirt.ckpt
    ├── trousers.ckpt
    └── tshirt.ckpt

3.5 Test with Pre-train models

Please checkout the scripts/test folder for the testing scripts. One should be able to run the corresponding testing scripts with the pre-train models and dataset setup correctly.

3.6 Train from Scratch

Please checkout the scripts/train folder for the training scripts. We currently support three types of garments i.e. skirts, Tshirts and trousers. Take skirts training as an example, please run the train_skirt_canonical.sh first for the canonical garment reconstruction and then run the train_skirt_posed.sh for the posed garment reconstruction.

4. License

Distributed under the MIT License. See LICENSE for more information.

5. Citation

If you find our work useful in your research, please consider citing the following papers:

@inproceedings{
    hong2021garmentd,
    title={Garment4D: Garment Reconstruction from Point Cloud Sequences},
    author={Fangzhou Hong and Liang Pan and Zhongang Cai and Ziwei Liu},
    booktitle={Thirty-Fifth Conference on Neural Information Processing Systems},
    year={2021},
    url={https://openreview.net/forum?id=aF60hOEwHP}
}

Acknowledgments

In our implementation, we refer to the following open-source databases:

More Repositories

1

AvatarCLIP

[SIGGRAPH 2022 Journal Track] AvatarCLIP: Zero-Shot Text-Driven Generation and Animation of 3D Avatars
Python
939
star
2

EVA3D

[ICLR 2023 Spotlight] EVA3D: Compositional 3D Human Generation from 2D Image Collections
Python
458
star
3

DS-Net

[CVPR 2021] Rank 1st in the public leaderboard of SemanticKITTI Panoptic Segmentation (2020-11-16)
Python
219
star
4

HCMoCo

[CVPR 2022 Oral] Versatile Multi-Modal Pre-Training for Human-Centric Perception
Python
110
star
5

Pointnet-TextCNN

Point cloud classification and segmentation based on pointnet and textcnn
Python
5
star
6

AutomonousDrivingHW

Homework of Autonomous Driving
C++
4
star
7

Tornado-Monitor-System

2018 Summer Python Project. An Intelligent Monitor Platform Based on Tornado.
Python
4
star
8

neural_renderer

Modified version of neural_renderer for AvatarCLIP
Python
3
star
9

AssemblyPlayStation

This is a repo for our assembly project which is a bootable os with multiple games.
Assembly
3
star
10

ShadowCompiler

Project for Computer Network(2) -- Compiler Part
C++
2
star
11

xv6-e1000-driver

add nic support for xv6
C
2
star
12

minimum-ftp

A simple ftp server and client which only implement minimum function.
Python
2
star
13

FZLambda

Lambda Expression Evaluation and Type Check Implemented by Haskell
Haskell
2
star
14

2017_spring_notepad_playground

C++
1
star
15

mysite-LearningDjango

A simple blog build by django while learn it.
Python
1
star
16

DA-A2

Data Structure & Algorithm 2
C++
1
star
17

Notepad

A very simple text editor based on MFC (Software Engineering 2 team project)
HTML
1
star
18

Data-Structure-2-Project

Repository for Data Structure and Algorithm projects
C++
1
star
19

Astroid-Wechat-Game

Classic game Astroid in Wechat-Game platform
JavaScript
1
star
20

20171021-ETC-RiYueShenJiao

1
star
21

FlightControl

A fight control system based on STM32
C
1
star
22

xv6-comment

Commented xv6 source code.
C
1
star
23

TfMnistDataset

TensorFlow Mnist Dataset
1
star
24

DataStructureAndAlgorithm-1-

2017秋季学期数据结构与算法(1)实验
C++
1
star
25

2016_nand2tetris

Assembly
1
star
26

WeChatTicket-THSSOJ

Python
1
star