Comments (3)
it means there's at least one image with empty label in your val dataset, just check your txt files and remove the empty files, then set use_cache to false to re-generate cache.
from edgeyolo.
I got the same error and discovered that the problem in my case was caused because of different image formats mingled. By default, the Yolo dataloader takes only the '.jpg' images, while all annotations are taken (also from other image formats, like '.png'). That causes a mismatch.
I created a fix to take all images (despite of their format) and after testing, Ill create a pull request.
from edgeyolo.
I got the same error and discovered that the problem in my case was caused because of different image formats mingled. By default, the Yolo dataloader takes only the '.jpg' images, while all annotations are taken (also from other image formats, like '.png'). That causes a mismatch.
I created a fix to take all images (despite of their format) and after testing, Ill create a pull request.
Well, typically the first step before annotating a dataset is to unify the image format, so I think it's the problem of nonstandard process when creating the dataset, not the code
from edgeyolo.
Related Issues (20)
- Custom Training gives no detections HOT 7
- ../aten/src/ATen/native/cuda/Loss.cu:92: operator(): block: [37,0,0], thread: [96,0,0] Assertion `input_val >= zero && input_val <= one` failed. HOT 7
- 在detector.py中并没有找到utils中的postprocess, get_model_info,请问可以更新一下库吗 HOT 2
- segmentation support HOT 1
- torch.multiprocessing.spawn.ProcessRaisedException: HOT 2
- yolo格式数据集训练报错 HOT 2
- VisDrone权重的模型是有其他设置吗?遇到了一些问题
- why not use enhance_mosaic in training COCO or DOTA? HOT 1
- enhanced-mosic & mixup HOT 3
- many false positives HOT 4
- 请问一下可以断点训练吗 HOT 1
- 想问下不同训练阶段使用不同的损失函数代码是在哪一部分 HOT 1
- cache未保存问题 HOT 1
- Minimum size for training HOT 1
- 请问visdrone2019的coco是怎么设置的 HOT 10
- 使用VisDrone2019MOT采用默认的学习和数据增强设置在训练过程出现的问题 HOT 1
- 添加一个SE注意力块在head结构后加载预训练权重训练时loss正常,在eval时模型输出inf
- Could you share some details about running inference on RK3588 NPU? HOT 7
- ONNX exported model is outputing Bogus - normalize image to 0..1 values HOT 3
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 edgeyolo.