Comments (9)
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.
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.
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.
Yes that’s the way I outputed as well
from icnet-tensorflow.
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.
@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.
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.
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.
Can you list your machine installed packages list, mine is as the following:
- protobuf == 3.5.2
- python 2.7.5
- gcc 4.8.5
- nvidia cuda 9.0
- nvidia cudann 7.0
- protobuf
- OS (Centos 7)
from icnet-tensorflow.
Related Issues (20)
- Errors in restoring the session evalucation.py and network.py
- ValueError: Shape must be rank 4 but is rank 3 for 'data_sub2' (op: 'ResizeBilinear') with input shapes: [720,720,3], [2]. HOT 3
- Why is it suddenly 'killed' run train.py? HOT 1
- How predict the result to use my training model ckpt.meta?
- Dimension not equal HOT 1
- ValueError:Variable conv does not exist
- ValueError when using own dataset HOT 2
- Training own dataset
- Inference time is too high(about 3.5x as supposed to be ~0.04s)
- multi GPU training?
- tensorflow's version HOT 1
- How to use the pre-trained modle of ade20k provided by author,I use the code in demo.ipynb,but it can't open the file,the cityscapes works well.
- Training over-fitting after every epochs
- same classification result with every pixel HOT 1
- can get correct result
- bad results of voc2012
- The update stops and the loss does not drop HOT 4
- Assign requires shapes of both tensors to match. lhs shape= [13] rhs shape= [150]
- 上一个项目
- 关于ade20k的分割结果,颜色和标签有对应关系吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icnet-tensorflow.