Coder Social home page Coder Social logo

Performance issue about pytorch-pwc HOT 4 CLOSED

sniklaus avatar sniklaus commented on June 27, 2024
Performance issue

from pytorch-pwc.

Comments (4)

sniklaus avatar sniklaus commented on June 27, 2024

What is the input resolution for the table that you quoted? And which graphics card are you using?

from pytorch-pwc.

donnydonny123 avatar donnydonny123 commented on June 27, 2024

Hi,
In the original paper's conclusion, 1024*436 images is used for benchmark.
The command I am using is the same as provided in https://github.com/sniklaus/pytorch-pwc#usage ,
Which is python run.py --model default --first ./images/first.png --second ./images/second.png --out ./out.flo
GPU is GTX 1080 ti.
Thank you for your reply.

from pytorch-pwc.

sniklaus avatar sniklaus commented on June 27, 2024

Interesting find, thank you for bringing this up! Calling moduleNetwork in a for loop using the provided images clocks in at around 130 ms per estimate on my 1080 Ti, still much too slow. Note to everyone reading this and who might not be aware of the asynchronous computation nature of GPU computing, making sure to use torch.cuda.synchronize() to get the correct timing. Have you tried benchmarking the official release? If so, what is the timing you get? Thanks!

from pytorch-pwc.

sniklaus avatar sniklaus commented on June 27, 2024

Closing the issue due to inactivity, I would still love to hear more about this though!

from pytorch-pwc.

Related Issues (20)

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.