Coder Social home page Coder Social logo

sat2pc's Introduction

Sat2PC

By Yoones Rezaei, Stephen Lee

Citation

If you find our paper helpful in your work, please consider citing:

@misc{https://doi.org/10.48550/arxiv.2205.12464,
  doi = {10.48550/ARXIV.2205.12464},

  url = {https://arxiv.org/abs/2205.12464},

  author = {Rezaei, Yoones and Lee, Stephen},

  keywords = {Computer Vision and Pattern Recognition (cs.CV), Artificial Intelligence (cs.AI), Machine Learning (cs.LG), FOS: Computer and information sciences, FOS: Computer and information sciences},

  title = {sat2pc: Estimating Point Cloud of Building Roofs from 2D Satellite Images},

  publisher = {arXiv},

  year = {2022},

  copyright = {arXiv.org perpetual, non-exclusive license}
}

Introduction

In this repository we release the code and data for our paper "sat2pc: Generating Building Roof's Point Cloud from a Single 2D Satellite Images" in ICCPS 2023. You can find the original paper here.

Installation

To use this repository you need an environemnt with python 3.7.9. We suggest creating a conda environment with the following command:

conda env create -f environment.yml

Next, activate the environment:

conda activate sat2pc

Finally, cd into the repository folder and run the following commands one after another:

conda install -c "nvidia/label/cuda-11.7.0" cuda
cd PyTorchEMD
python setup.py install
cd ../neuralnet-pytorch-master
python setup.py install

These commands will install extra required packages.

Data

The dataset from the paper can be dowloaded from here.

Usage

To train the model you can run the following command:

python train.py --config ./configs/sat2pc.gin --data-dir ./datasets/

To test the model you can run the following command:

python test.py --config ./configs/sat2pc.gin --data-dir ./datasets/ --ckpt-path [location of the saved weights]

Visualization

To visualize the predictions from the model you can use the following command:

python visualize.py --data-dir ./datasets --results [location of the .res file generated by running the test script]

sat2pc's People

Contributors

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