Code Monkey home page Code Monkey logo

smart-tree's Introduction

๐Ÿ’ก๐Ÿง ๐Ÿค” Smart-Tree ๐ŸŒณ๐ŸŒฒ๐ŸŒด

๐Ÿ“ Description:

This repository contains code from the paper "Smart-Tree: Neural Medial Axis Approximation of Point Clouds for 3D Tree Skeletonization".
The code provided is a deep-learning-based skeletonization method for point clouds.

Input point cloud. Mesh output. Skeleton output.

๐Ÿ’พ Data:

Please follow instructions to download data from this link.

๐Ÿ”ง Installation:

First, make sure you have Conda installed, aswell as mamba. This will ensure the enviroment is created within a resonable timeframe.

To install smart-tree please use
bash create-env.sh
Then activate the environment using:
conda activate smart-tree

๐Ÿ“ˆ Training:

To train the model open smart_tree/conf/training.yaml.

You will need to update (alternatively these can be overwritten with hydra):

  • training.dataset.json_path to the location of where your smart_tree/conf/tree-split.json is stored.
  • training.dataset.directory to the location of where you downloaded the data (you can choose whether to train on the data with foliage or without based on the directory you supply).

You can experiment with/adjust hyper-parameter settings too.

The model will then train using the following:

train-smart-tree

The best model weights and model will be stored in the generated outputs directory.

โ–ถ๏ธ Inference / โ˜ ๏ธ Skeletonization:

We supply two different models with weights:

  • noble-elevator-58 contains branch/foliage segmentation.
  • peach-forest-65 is only trained on points from the branching structure.

If you wish to run smart-tree using your own weights you will need to update the model paths in the tree-dataset.yaml.

To run smart-tree use:
run-smart-tree +path=cloud_path
where cloud_path is the path of the point cloud you want to skeletonize.
Skeletonization-specific parameters can be adjusted within the smart_tree/conf/tree-dataset.yaml config.

๐Ÿ“œ Citation:

Please use the following BibTeX entry to cite our work:

@inproceedings{dobbs2023smart,
  title={Smart-Tree: Neural Medial Axis Approximation of Point Clouds for 3D Tree Skeletonization},
  author={Dobbs, Harry and Batchelor, Oliver and Green, Richard and Atlas, James},
  booktitle={Iberian Conference on Pattern Recognition and Image Analysis},
  pages={351--362},
  year={2023},
  organization={Springer}
}

Star History

Star History Chart

๐Ÿ“ฅ Contact

Should you have any questions, comments or suggestions please use the following contact details: [email protected]

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.