Comments (9)
I need more information to help you. The code is supposed to get mIoU around 75 for PASCAL VOC2012 val.
from deeplab-v2--resnet-101--tensorflow.
您好,首先感谢您在百忙之中能够回复我的提问,您来自**吧,看您的主页,以前是南京大学的,所以我就用中文了,是这样的,我下载完您的代码后,因为执行"python3 main.py"时有些图片找不到,所以我从别处找来了列表文件,然后执行了"python3 main.py",在main中我设置了"encoder_name"为"res50",“pretrain_file”为"./reference model/resnet_v1_50.ckpt", 当训练完20000步后,我进行了测试,执行"python3 main.py --option=test", 得到的"Pixel Accuracy"是0.99,但是IoU是0.108,我仿照test()代码,添加了predict操作,试图预测一张图片,得到的结果很差,请问可能是什么原因呢,再次感谢您!
from deeplab-v2--resnet-101--tensorflow.
@CaiziLee 你的loss最后是多少呢?跟zhengyang的对比一下?
因为他用的是增强后的数据集,所以我们使用的时候要核对一下自己的图片是不是跟txt里写的相对应。
from deeplab-v2--resnet-101--tensorflow.
我的loss,最后是1.4多,请问数据集应该怎么操作啊,我想看看全设置一样的话,能不能跑出好结果,谢谢了
from deeplab-v2--resnet-101--tensorflow.
To get the same result, you need to make sure your dataset is the same. The augmented PASCAL VOC 2012 dataset with 10582 images for training and 1449 images for validation. Here is a download link of augmented labels: https://www.dropbox.com/s/oeu149j8qtbs1x0/SegmentationClassAug.zip?dl=0
from deeplab-v2--resnet-101--tensorflow.
@zhengyang-wang 谢谢您提供的link,我用deeplab_resnet_init.ckpt这个预训练模型加载训练,得到的loss为1.3+,‘--option=test’的mIoU为0.68+,用deeplab_resnet.ckpt得到的loss也是1.3+,'--option=test'的mIoU为0.769,加载resnet_v1_101.ckpt,'--option=test'只得到了0.567,不知道我的结果是不是正常的
from deeplab-v2--resnet-101--tensorflow.
The loss seems correct. But the mIoU is lower than what I got. Could you please provide your GPU information and the log.txt of setting "deeplab+deeplab_resnet_init.ckpt"?
To help detecting the problem, I provide my final model here. https://www.dropbox.com/s/61b0cvk8fktgbaw/model.zip?dl=0
You can extract the files and put them in the model folder, then run "python main.py --option=test". Let's see if the results are the same.
from deeplab-v2--resnet-101--tensorflow.
@zhengyang-wang Thank you for your reply, my GPU : 1080ti, I don't know what's going on, but I can get a good result now which mIoU is 0.753, I tried to train it for several times, and always 0.75+, thank you for your help again
from deeplab-v2--resnet-101--tensorflow.
I use resnet-50.ckpt for finetuning and only get mIoU as 0.674. How do you guys get more than 0.75? Do you use resnet-101? And what is your training steps? @CaiziLee @zhengyang-wang
from deeplab-v2--resnet-101--tensorflow.
Related Issues (20)
- Optimizer choice: Adam VS SGD HOT 1
- Another dataset HOT 4
- Problem with pre-trained model HOT 1
- Results for VOC2012 are not correct HOT 3
- Training Cityscapes - Changes in label_utils.py HOT 1
- pretrain model download
- How to process the outline of the object in Segmentation label images? HOT 1
- The problem about paper "Smoothed Dilated Convolutions for Improved Dense Prediction". HOT 1
- Which part of your code corresponds to the CRF in Deeplab V2? HOT 1
- How to predict dynamically from graph HOT 1
- A question about paper "Smoothed Dilated Convolutions for Improved Dense Prediction" HOT 2
- NotFoundError (see above for traceback): Tensor name HOT 3
- only can train 2images HOT 1
- Can I input 6 channel images for training? HOT 2
- how about results(mIoU) on validation set and test set HOT 2
- Hi, could you please implement it on cityscape? HOT 3
- how about the hyperparms of cityscape
- ABOUT BATCHSIZE WHEN TRAINING ON CITYSCAPES HOT 1
- It is OOM. Try reducing input_height and input_width. HOT 1
- resnet101 ------- miou 70.7% HOT 2
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 deeplab-v2--resnet-101--tensorflow.