Comments (6)
Hey @Sudhir11292rt , can you tell me how you run the evaluation code? You can refer to this issue #4 first. May you calculate the time including model initialization
from icnet-tensorflow.
Thanks for the response @hellochick. I have looked at the #4 . But still I am getting an 'average inference time: 2.80006708418'. In evaluate.py I have changed
- DATA_DIRECTORY, DATA_LIST_PATH to point my local cityscapes dataset and cityscapes_val_lists.txt.
2)I have downloaded your provided 'icnet_cityscapes_train_30k.npy' pretrained weights and correspondingly changed model_train30k.
Then, ran python evaluate.py --model train --measure-time.
Thanks,
Sudhir
from icnet-tensorflow.
@Sudhir11292rt , can you try inference.py
and calculate time ?
for i in range(5):
start = time.time()
preds = sess.run(pred)
print(time.time() - start)
from icnet-tensorflow.
@hellochick Here is the output for command 'python inference.py --model train --img-path ~/aachen_000087_000019_leftImg8bit.png'
3.84351301193
2.9684278965
3.43640303612
3.59244203568
3.2074649334
I am not sure, if I am making mistake somewhere?
from icnet-tensorflow.
@Sudhir11292rt , I have no idea for this situation. Did there any warnings occur when you run the code? Such as OutOfMemory, etc.
from icnet-tensorflow.
Yeah, it seems like its warming issue, ~2s on 1st inference, 0.04 on the second one and others (1080 Ti)
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.