Comments (2)
Hey @npv0, Im sorry for that I have updated the wrong code. I have fixed it and it can work with evaluation now. Thanks.
from icnet-tensorflow.
Thanks for the fix @hellochick . Issue got resolved.
I have made a few changes locally to resolve few issues after checking out the latest [update
](6cd4fbf)
- Changed Line 71 for param_name, data in data_dict[op_name].iteritems(): to for param_name, data in data_dict[op_name].items():
Traceback (most recent call last):
File "evaluate.py", line 155, in
main()
File "evaluate.py", line 126, in main
net.load(model_train30k, sess)
File "E:\Projects\DeepLearning\tf\ICNet\ICNet-tensorflow\network.py", line 71, in load
for param_name, data in data_dict[op_name].iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'
- I was getting issue as the cityscapes file names are difference in eval_list.txt for me.
npv0@LAPTOP-8FO36PI9 MINGW64 /e/Projects/DeepLearning/tf/ICNet/ICNet-tensorflow (master)
$ python3 evaluate.py --model=train
Namespace(flipped_eval=False, measure_time=False, model='train', save_dir='./output/')
Traceback (most recent call last):
File "evaluate.py", line 155, in
main()
File "evaluate.py", line 84, in main
coord)
File "E:\Projects\DeepLearning\tf\ICNet\ICNet-tensorflow\image_reader.py", line 107, in init
self.image_list, self.label_list = read_labeled_image_list(self.data_dir, self.data_list)
File "E:\Projects\DeepLearning\tf\ICNet\ICNet-tensorflow\image_reader.py", line 62, in read_labeled_image_list
raise ValueError('Failed to find file: ' + mask)
ValueError: Failed to find file: ./data/cityscapes_dataset/cityscape\gtFine/val/lindau/lindau_000000_000019_gtFine_labelTrainIds.png
I have changed eval_list.txt file (renamed all gtFine_labelTrainIds to gtFine_labelIds) for eg: lindau_000000_000019_gtFine_labelTrainIds.png
to lindau_000000_000019_gtFine_labelIds.png
Renaming resolved the error, but not sure whether the change is correct or not
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.