Code Monkey home page Code Monkey logo

softgroup_3dml's Introduction

SoftGroup_3DML

Dataset

Considering remaining capacity of our desktop, we only utilize S3DIS Dataset.

Dataset preparation

bash prepare_data.sh # from author's code

Implementation details

We use all modules, config files, dataset preprocessing, train, test, evaluation, bottom-up and top-down refinement etc codes from author's codes. We use pretrained model from HAIS checkpoint We only redefine some of the details in MLP and Loss function. The number of MLP layers is defined as 2 but we figured out that it is quite shallow to learn point-wise semantic scores and offsets. Also we put more weights on semantic loss and offset loss which we believe has more significant impact on performance.

modifications that we perform

THESE ARE THE ONLY MODIFICATIONS THAT WE PERFORM. OTHER THAN THIS, EVERYTHING IS FROM AUTHOR'S CODE

  1. The number of MLP layers : 2 -> 3 (we thought 2 is not enough to learn per-point features such as semantic scores and offset coordinates)
  2. Activation function for MLP : ReLU -> LeakyReLU (To prevent side effect stemmed from the increased layers)
  3. Loss function : multi-task loss -> weighted multi-task loss (details on the report)
  4. Epochs : 20 -> 8 (to reduce training time)

Usage

spconv, dependency installation and setup

pip install spconv-cu102 # we used cuda 11.3 version
pip install -r requirements.txt
sudo apt-get install libsparsehash-dev
python setup.py build_ext develop

train

fine-tuning backbone networks

python train.py --config configs/softgroup_s3dis_backbone_fold5.yaml --work_dir $WORK_DIR --skip_validate # from author's code
python train.py --config configs/softgroup_s3dis_fold5.yaml --work_dir $WORK_DIR --skip_validate # from author's code

test

python test.py --config configs/softgroup_s3dis_fold5.yaml --out $RESULT --checkpoint $CHECKPOINT # from author's code

softgroup_3dml's People

Contributors

sjinch avatar

Stargazers

Marius U. 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.