GithubHelp home page GithubHelp logo

3d-vgt's Introduction

PyTorch implementation of 3D-VGT(3D-VAE-GAN-Transformer)

This repository contains the source code for the paper "3D reconstruction method based on a generative model in continuous latent space"

Author email: [email protected]

Github Github

Datasets

We use the renderings of ShapeNet in our experiments,which are available below:

Model Structure

train stage

Prerequisites

Clone the Code Repository

git clone https://github.com/clfs0003/3D-VGT

Install Python Denpendencies

cd 3D-VGT
pip install -r 3D-VGT_requirements.txt

Update Settings in config.py of part1

You need to update hyperparametersthe of the model and path of the datasets :

    parser.add_argument('--img_dir', type=str, default='../dataset/shapenet/train_imgs', help='input images path')
    parser.add_argument('--vox_dir', type=str, default='../dataset/shapenet/train_voxels', help='input voxels path')
    parser.add_argument('--lr', type=float, default='0.0002', help='learning rate')
    parser.add_argument('--batch_size', type=int, default='32', help='batch_size in training')
    parser.add_argument("--epoch", type=int, default=500, help="epoch in training")

Part of the experimental results are as follows

results of ShapeNet:

Get Started

To train UAGAN, you can simply use the following command:

stage 1

cd 3D-VGT
cd part1
python3 main_part1.py

stage 2

cd 3D-VGT
cd part2
python3 main_part2.py

Note: Since our paper has not been published yet, we only show the model structure and training code. When the paper is published, we will publish the full work of the paper. Welcome scholars to discuss and exchange.

License

This project is open sourced under MIT license.

3d-vgt's People

Contributors

tong-gao-dream avatar

Stargazers

 avatar  avatar  avatar  avatar  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.