Git Product home page Git Product logo

vapnet-pytorch's Introduction

VAPNet-Pytorch

This is an unofficial Pytorch implementation of View Adjustment Prediction Model in Camera View Adjustment Prediction for Improving Image Composition(2021).

View Adjustment Prediction Model

View Adjustment Prediction Model, which we named as VAPNet, predicts whether an image needs adjustment, which adjustment, and how much adjustment is needed.

Performance

AUC TPR Left Right Up Down Zoom-in Zoom-out Clockwise Counter-Clockwise IoU
Original Paper 0.608 0.436 0.221 0.221 0.390 0.341 0.015 0.378 0.124 0.110 0.750
Version1 0.624 0.483 0.263 0.240 0.332 0.295 0.015 0.061 0.152 0.144 0.750
Version2 0.627 0.485 0.324 0.300 0.494 0.512 None None None None 0.759
  • Columns from Left to Counter-Clockwise means F1-Score

Dataset

Usage

git clone https://github.com/PROLCY/VAPNet-Pytorch.git
cd VAPNet-Pytorch && mkdir weight
pip install -r requirements.txt

Demo

Download pretrained model in the directory weight

Adjustment IoU Download
Version1 Left, Right, Up, Down, Zoom-in, Zoom-out, Clockwise, Counter-Clockwise 0.750 Link
Version2 Left, Right, Up, Down 0.759 Link
python demo.py {image_dir_path}

You can check the inference result in terminal.

Result

Predicted view adjustment is as follows.

If you are interested in this repository, please contact [email protected]

vapnet-pytorch's People

Contributors

prolcy 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.