Giter VIP home page Giter VIP logo

Comments (9)

hellochick avatar hellochick commented on July 28, 2024

Can you tell me the resolution of your input images? 1024*2048 size image give me 0.04 sec on GTX1080. Yes, you can change the code to feed batch of images as input, and this might be much faster.

from icnet-tensorflow.

aliericcantona avatar aliericcantona commented on July 28, 2024

On my machine with the gtx 1080 for an image of 1920x1080 is .18 sec ... hmm almost 4 times slower, isnthere any settings I need to do?

from icnet-tensorflow.

hellochick avatar hellochick commented on July 28, 2024

Oh, my graphic card is gtx 1080 ti, but I don't think gtx 1080 will 4 times slower than it. Can you try with single input image with following code?

for i in range(10):
    start_time = time.time()
    preds = sess.run(pred, feed_dict={x: img})
    print(time.time() - start_time)

from icnet-tensorflow.

aliericcantona avatar aliericcantona commented on July 28, 2024

Yes that’s the way I outputed as well

from icnet-tensorflow.

aliericcantona avatar aliericcantona commented on July 28, 2024

GPU: gtx 1080 (not a TI)
Tensorflow: (r1.6 from the source)
Libcuda: 8.0
Libcnn: 5.0
gpu decide version: 6.1
python: 2.7
Even I played with the blaze build option to re-compile tensorflow but still I don't get 0.04 sec as your machine. still around 0.17-0.18 second per frame 1920x1080...

from icnet-tensorflow.

hellochick avatar hellochick commented on July 28, 2024

@aliericcantona , when I install r1.6, it recommended cuda 9.0, I don't know whether this is a problem or not. However, I use tf 1.4 instead of tf 1.6, maybe you can try on tf 1.4? I think 0.17 is really slow for gtx 1080, really strange.

from icnet-tensorflow.

aliericcantona avatar aliericcantona commented on July 28, 2024

still I can't get less than 0.16 sec. Even I have the new image on my centos 7 machine. Is there any trick (OS) wise that you get that number? 4 times faster than mine.

from icnet-tensorflow.

aliericcantona avatar aliericcantona commented on July 28, 2024

BTW, I installed cuda 9.1 and cudnn 7.0 with tensorflow r1.6 on gpu 1080ti, stil the same number. 0.16seconds per frame of 1920x1080 size.
I installed tensorflow from the source. Is there any special trick you may know of when ./configure?

from icnet-tensorflow.

aliericcantona avatar aliericcantona commented on July 28, 2024

Can you list your machine installed packages list, mine is as the following:

  1. protobuf == 3.5.2
  2. python 2.7.5
  3. gcc 4.8.5
  4. nvidia cuda 9.0
  5. nvidia cudann 7.0
  6. protobuf
  7. OS (Centos 7)

from icnet-tensorflow.

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.