Code Monkey home page Code Monkey logo

3d-object-localization's Introduction

3D Object Localization

Dependencies

The code is tested on Ubuntu 18.04.

  • PyTorch v1.1, CUDA 10.0 and cuDNN v7.4
  • tensorflow or tensorflow-gpu v1.14.0 (for the tensorboard)

Dataset

The model in this repository is from torchvision which contains pretrained ResNet50-Backbone and then fine-tuned on ScanNet dataset. In order to obtain the data, please follow this README.

Data preparation

After downloading the dataset from ScanNet, place them under the /data folder. You will have 3 folders:

  • frames_square for rgb images, depth images and semantics segmentation labels(which is not needed here)
  • scannet_frame_labels contains pixelwise instance segmentation labels
  • scannet_frame_bbox contains labels for bounding box, object_id, semantic_label_id

So your /data folder will look like this:

  • data
    • frames_square
      • scene0000_01
        • color
        • depth
    • scannet_frame_labels
      • scene0000_01
        • instance-filt
          • 0.png
          • 1.png
    • scannet_frame_bbox
      • scene0000_01
        • 0.p
        • 20.p

Run batch_load_scannet_data.pyto organize the data so that it will be easy to use our dataloader to train the model.

Tensorboard

By default, the log for tensorboard is stored in /train_log under the root folder of this repository. Simply cd to this repository and run:

tensorboard --logdir=./train_log

Troubleshoot

You might need to conda install -c anaconda future in your conda environment.

Development

  • Plot function for loss history
  • Add other backbone network
  • Add Adam optimizer

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.