Comments (9)
Your category does not in range of [0, 13], but in [0, 131] instead. You should convert the label values into [0, 13].
from bisenet.
您是什么意思呢,我的图像像素值区间是[0,132],但是我的像素颜色种类是13,那我的n_cats应该设为多少呢
from bisenet.
You should map the pixel value of your label file into range of [0, 12].
from bisenet.
代码里的这个输出[0,132]难道不是像素的最小值与最大值形成的区间吗
from bisenet.
You have 13 categories, but your category index are not continously ranging from 0 to 12, they are sparsely ranging from 0 to 132.
You should map your raw label values continuously into range [0, 12].
For example, in the picture above, we can see the mapping rule as:
0 -> 0
14 -> 1
19 -> 2
....
You should process your label files to by-pass those empty categories, or you have to set the number of categories into 132.
from bisenet.
They are expected to be singe channel image.
from bisenet.
我明白您的意思了,我的png格式的标签文件有问题,我应该下去修改,是需要把彩色标签图像改成单通道8位标签图像吗
from bisenet.
Yes, they are expected to be single channel with label values rather than pixel values.
from bisenet.
非常感谢您,我再下去试试。再次感谢
from bisenet.
Related Issues (20)
- 训练的时候报错tools/train_amp.py FAILED HOT 21
- 关于tensorrt加速的问题 HOT 1
- 单卡训练报错 HOT 3
- 自己数据集训练出来的精度好低(The accuracy of the model trained on custom dataset seems to be quite low.)
- mismatch problem when using --finetune_from
- Please help me
- README ade20k小问题
- windows下应该怎么训练? HOT 1
- about ade20k n_cats=150?
- yolov5,yolov8的12种车牌检测和识别,准确率高达99%+,还有10G车牌开源数据!!!
- C++ and TensorRT implementation of yolov5face yolov7face yolov8face
- RuntimeError: CUDA error: an illegal memory access was encountered HOT 2
- Issue with custom dataset training
- 请问为何将遍历完数据集当作训练结束条件?而不是迭代次数?
- about miou=74.8
- 请问CamVid数据集怎么跑通呢? HOT 1
- cityscapes的测试集
- Loss values are not converging to a lower value.
- custom dataset.error:RuntimeError: input and target batch or spatial sizes don't match
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 bisenet.