Comments (10)
hi ,it is a good job though only 2 stars , please continue to maintain the job
and give the custom dataload and config. haha ,thansks
I will try to be better.
About custom data, you can convert you data format into cityscape format. One picture correspond to a ground truth picture. And then use cityscape dataloader.
from segmentron.
hi, as you said ,i put my own data to cityscapes dir , but in the dataloder/cityscapes.py , my class is 2,labels are 0 and 1, how to change below:
thanks!
raise RuntimeError("Found 0 images in subfolders of:" + root + "\n")
self.valid_classes = [7, 8, 11, 12, 13, 17, 19, 20, 21, 22,
23, 24, 25, 26, 27, 28, 31, 32, 33]
self._key = np.array([-1, -1, -1, -1, -1, -1,
-1, -1, 0, 1, -1, -1,
2, 3, 4, -1, -1, -1,
5, -1, 6, 7, 8, 9,
10, 11, 12, 13, 14, 15,
-1, -1, 16, 17, 18])
from segmentron.
sorry, it is a little complicated.
you should modify img_folder and mask_folder here 。and then change here to your folder to make sure you can find images.
finally, change self.valid_classes=[0,1], self._key = [0,1],
from segmentron.
thanks for reply
i changed what you said and can find the images data. but i think self._key = [0,1] is not right , you can see in the cityscapes the self._key nums is not 19.
from segmentron.
thanks for reply
i changed what you said and can find the images data. but i think self._key = [0,1] is not right , you can see in the cityscapes the self._key nums is not 19.
valid key number is 19, not valid key set as -1. your key is all valid
from segmentron.
@LikeLy-Journey @zhangyunming
Hi, can your explain more details on how to train(&eval) on custom dataset? thanks.
from segmentron.
thanks for reply
i changed what you said and can find the images data. but i think self._key = [0,1] is not right , you can see in the cityscapes the self._key nums is not 19.
@zhangyunming @lichen14 您好,麻烦问一下您在自己的数据集上训练模型成功了吗?我想根据自己的数据集训练deeplabv3+,dataloader使用的是pascal voc的,我的数据集不是21类,颜色也不是跟voc是一样的,麻烦问一下,我应该修改什么来适应我这种情况?期待大神回复,谢谢
from segmentron.
thanks for reply
i changed what you said and can find the images data. but i think self._key = [0,1] is not right , you can see in the cityscapes the self._key nums is not 19.@zhangyunming @lichen14 您好,麻烦问一下您在自己的数据集上训练模型成功了吗?我想根据自己的数据集训练deeplabv3+,dataloader使用的是pascal voc的,我的数据集不是21类,颜色也不是跟voc是一样的,麻烦问一下,我应该修改什么来适应我这种情况?期待大神回复,谢谢
我将自己的数据集制作成cityscape格式,是可以训练的,https://blog.csdn.net/s534435877/article/details/106937561
self.valid_classes=[0,1], self._key = [-1,0,1]
未标注的为0,标注了一类为1.
from segmentron.
thanks for reply
i changed what you said and can find the images data. but i think self._key = [0,1] is not right , you can see in the cityscapes the self._key nums is not 19.@zhangyunming @lichen14 您好,麻烦问一下您在自己的数据集上训练模型成功了吗?我想根据自己的数据集训练deeplabv3+,dataloader使用的是pascal voc的,我的数据集不是21类,颜色也不是跟voc是一样的,麻烦问一下,我应该修改什么来适应我这种情况?期待大神回复,谢谢
我将自己的数据集制作成cityscape格式,是可以训练的,https://blog.csdn.net/s534435877/article/details/106937561
self.valid_classes=[0,1], self._key = [-1,0,1]
未标注的为0,标注了一类为1.
我看了你的博客,脚本的最后要进行crop,cityscapes数据集必须得resize到固定的尺寸???
from segmentron.
self.valid_classes=[0,1], self._key = [-1,0,1]
如果我的类别数4,self.valid_classes=[0,1], self._key = [-1,0,1]怎么填写??self.valid_classes=[0,1,2,3,4,], self._key = [-1,0,1,2,3,4]对吗?大佬
from segmentron.
Related Issues (20)
- PointRend with HardNet
- Bug in tool/demo.py HOT 3
- How to load pointrend weight in demo.py?
- the problem occurred during training
- Multi-GPU Training Error HOT 4
- how to compute fps?
- RuntimeError when resuming training HOT 2
- About some parameter
- About mode
- How to convert 19cls into 34cls according to your mapping?
- module 'yaml' has no attribute 'FullLoader'
- Deeplabv3plus (mobilenetv2) cityscapes with ASPP
- unet+backbone
- What is your default Loss Function?
- What is the default weight mean?
- Error on instalation
- How to reproduce the result of Mobilenet+Deeplabv3
- Training stuck on the first epoch HOT 1
- how to reproduce deeplabv3+ with xception65 achieve 88% in pascal voc?
- Something happened when I try to make configuration about enviornment
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 segmentron.