Side Projects

During my spare time, I also implemented lots of tools/algorithms/papers that I found interesting, all of which are open-source.

  1. Perception3D: An Open-Source Deep Learning Framework for 3D Perception

    An Open-Source Deep Learning Framework for 3D Perception (including classification, segmentation, keypoint detection, registration, shape matching, etc.). The documentation (beta) can be built in docs folder. This framework is inspired by mmdetection3d, but with a better configuration system.
  2. PyTorch implementation of various point transformers

    Recently, various methods applied transformers to point clouds: PCT: Point Cloud Transformer (Meng-Hao Guo et al.), Point Transformer (Nico Engel et al.), Point Transformer (Hengshuang Zhao et al.). This repo is a PyTorch implementation for these methods and aims to compare them under a fair setting. Currently, all three methods are implemented, while tuning their hyperparameters.
  3. A NumPy implementation of PMVS

    This is an unofficial Python implementation of PMVS, described in Accurate, dense, and robust multi-view stereopsis, PAMI2010. The implementation is slow (no multi-thread and cuda) and it is only for study and illustration purpose.
  4. A geometric processing library in C++ & Python

    This repo implements a simple 3D geometric processing library, including some famous algorithms like geodesic distance computation and Point Pair Features (PPF) computation with CUDA.
  5. PyTorch implementation of QENet

    This is an unofficial PyTorch implementation of QENet, based on the paper Quaternion Equivariant Capsule Networks for 3D Point Clouds. However, it fails to converge for some unknown reason. I am still investigating the issue...
  6. A tiny renderer based on PBRT

    This is a naive tiny C++ renderer that is supposed to work on all platforms, based on the famous PBRT book.
  7. A minimal C++ example of Material Point Method

    This is a C++ implementation of Material Point Method, with the hybrid Particle-to-Grid and Grid-to-Particle process.
  8. PyTorch implementation of Learning Latent Subspaces in Variational Autoencoders

    This is a PyTorch implementation of the paper Learning Latent Subspaces in Variational Autoencoders. It reproduced the experiment on the Swiss Roll toy data.
  9. Direct Sparse Odometry for iOS platform

    This is an iOS port of Direct Sparse Odometry (https://github.com/JakobEngel/dso). You could press "toggle" to switch between depth images/RGB images/point cloud.
  10. PyTorch implementation of adversarial autoencoders

    This repo implements the adversarial autoencoders (https://arxiv.org/pdf/1511.05644.pdf), and reproduces the results on MNIST. One difference is that I used Wasserstein distance instead of naive GAN loss.
  11. Implementation of Two-Phase Kernel Estimation for Robust Motion Deblurring

    This is an unofficial Python implementation of the deblurring algorithm, described in Two-Phase Kernel Estimation for Robust Motion Deblurring, ECCV2010.
  12. PyTorch implementation of OctConv

    This is a PyTorch implementation of the paper Drop an Octave: Reducing Spatial Redundancy in Convolutional Neural Networks with Octave Convolution.
  13. Python implementation of PatchMatch Stereo

    A complete Python (Numba-accelerated) implementation of the patch match stereo algorithm described in PatchMatch Stereo - Stereo Matching with Slanted Support Windows, including view propagation and left/right consistency post-processing.
  14. TensorFlow implementation of KdNet

    This repo is a neat and precise implementation of KdNet (Escape from Cells: Deep Kd-Networks for the Recognition of 3D Point Cloud Models) in TensorFlow with Tensorpack.
  15. TensorFlow implementation of Collaborative Learning for Deep Neural Networks

    This is a TensorFlow implementation of the paper Collaborative Learning for Deep Neural Networks. I got 6.09% error rate after 300 epochs which is slightly different from the paper. Maybe the split point is different from the paper: in my implementation splitting is done right after Batch Normalization and Relu of transition layers while it is not clear whether they split before or after or in the transition layers. Besides, in my implementation, gradients would pass through soft label targets (notation "q" in the paper).
  16. TensorFlow implementation of Multi-stage Reinforcement Learning For Object Detection

    This is a TensorFlow implementation of the paper Multi-stage Reinforcement Learning For Object Detection.
  17. C++ implementation of GrabCut algorithm

    This is a C++ implementation of the famous image segmentation algorithm described in GrabCut: interactive foreground extraction using iterated graph cuts.
  18. Python Mahjong game with Monte Carlo AI

    This is a Mahjong game with GUI. I also implemented a Monte Carlo tree search for the AI opponents.
  19. PyTorch implementation of Sketch-WGAN

    This is a PyTorch implementation of the paper A Neural Representation of Sketch Drawings. I use WGAN to mimic the data distribution of sketch drawings, where the key difference from the original sketch-rnn is in the reparameterization of GMM.
  20. TensorFlow implementation of TRPO

    This is a TensorFlow (v1) implementation of the Trust Region Policy Optimization method. It is built purely on TensorFlow (v1) graphs and encapsulated as a separate optimizer. You only need to pass the policy function and the cost function to the optimizer and create the cache variables.
  21. PyTorch implementation of World Models

    This is a PyTorch implementation of Google World Models.
  22. C++ implementation of Selective Search Windows

    This is a C++ implementation of the paper Segmentation as selective search for object recognition. It reproduced the image segmentation result on Lena.
  23. Semantic 3D Reconstruction from a Collection of Images

    This project implemented real-time indoor objects segmentation and 3D reconstruction. We used fine-tuned MaskRCNN doing instance segmentation for 51 different objects and build 3D model by Truncated Signed Distance Function Volume Reconstruction with semantic predicted from MaskRCNN. By now, there are two steps to execute the pipe line. First, download datasets from RGB-D SLAM datasets. Using mask_process.py to generate mask images for specific datasets. Second, change configuration in kernel.cpp to execute TSDF.
  24. Cycle-W-GAN

    This is a TensorFlow implementation of the famous Cycle-GAN described in the paper Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks. I modified it by adding a Wasserstein distance to make the training more stable.
  25. Tiny Mask R-CNN in TensorFlow

    This is a tiny Mask R-CNN implemented in TensorFlow in only 700+ lines, thanks to "tf.map_fn".
  26. A3C for Doom

    This is a TensorFlow implementation that trains an RL agent on Doom with the A3C training strategy.
  27. MATLAB implementation of Single Image Haze Removal Using Dark Channel Prior

    This is a MATLAB implementation of Kaiming He's famous paper Single Image Haze Removal Using Dark Channel Prior.
  28. A C++ 3D Object Simplifier

    This is a C++ implementation of the paper Surface Simplification Using Quadric Error Metrics. It could reduce the 3D model size by merging vertices and faces.
  29. RealTimeTrack: Fast real-time tracking of deformable planar surfaces

    This is part of my graduation design. It can track multiple deformable images at the same time at a FPS above 30. The idea is based on the paper Template-based Monocular 3D Shape Recovery using Laplacian Meshes but with some performance improvements.
  30. Tower-Defense Game in Unity

    This is a tower-defense game written in Unity, a long time ago. It may not be compatible with recent Unity versions.