Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Code and data for Shading Annotations in the Wild

License

NotificationsYou must be signed in to change notification settings

kovibalu/saw_release

Repository files navigation

Code and data for paper "Shading Annotations in the Wild".

Installation

Dependencies

Our code was tested on Ubuntu 14.04. As a first step, clone our repo:

git clone https://github.com/kovibalu/saw_release.git

Then install the python dependencies by running:

sudo ./install/install_python.sh

If you would like to run our trained model, you will need to installCaffe. We slightly modified the implementation ofBansal et. al for our purposes. To check out our Caffe version which is included as a submodule, run:

git submodule update --init --recursive

Then build Caffe after editing theMakefile.config depending on your configuration with:

cd caffemake all -jmake pycaffe -j

Download Data

To download all data related to the dataset, run:

./download_saw.sh

The whole dataset download size is ~28.0GB, please see the documentation in thescript for a detailed breakdown of sizes for the different parts of thedataset. For detailed documentation on the format of the downloaded annotationsinsaw/saw_annotations_json seeANNO_FORMAT.md.

Usage

Precision-recall Curves

To generate the precision-recall curves in our paper for all baselines and our method, run:

python main.py generate_pr

You can select which baselines to evaluate inmain.py.

Generating Pixel Labels

To generate the pixel labels from the SAW annotations andNYUv2 depth dataset depth and normal maps, run:

python main.py generate_labels

Citation

Please cite our paper if you use our code or data:

@article{kovacs17shading,author = "Balazs Kovacs and Sean Bell and Noah Snavely and Kavita Bala",title = "Shading Annotations in the Wild",journal = "Computer Vision and Pattern Recognition (CVPR)",year = "2017",}

Contact

Please contactBalazs Kovacs with any questions.

About

Code and data for Shading Annotations in the Wild

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp