Coder Social home page Coder Social logo

3dssg's Introduction

3dssg

3D scene graph generation using GCN

reproduction of CVPR2020 "Learning 3D Semantic Scene Graphs from 3D Indoor Reconstructions"

Setup

The code works under pytorch 1.6.0 with only one card supported. Execute the following command to install PyTorch:

conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.2 -c pytorch

Install the necessary packages listed out in requirements.txt:

pip install -r requirements.txt

After all packages are properly installed, please run the following commands to compile the CUDA modules for the PointNet++ backbone (optional, the default code doesn't use this):

cd lib/pointnet2
python setup.py install

Usage

Train the default GCN model with the following command:

python scripts/train.py

It also makes sense to change the hyperparameters using command line arguments like --batch_size, --epoch etc.
Use argument --use_pretrained to load pretrained model. Use argument --vis for visualization and the results will be saved under vis folder.

Visualization

Scene-id: 7747a50c-9431-24e8-877d-e60c3a341cc2

7747a50c-9431-24e8-877d-e60c3a341cc2

Scene-id: 43b8cadf-6678-2e38-9920-064144c99406

43b8cadf-6678-2e38-9920-064144c99406

Scene-id: ba6fdaaa-a4c1-2dca-8163-a52b18bf6b64

ba6fdaaa-a4c1-2dca-8163-a52b18bf6b64

3dssg's People

Contributors

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