HumanSignal / HumanSignal/label-studio

Value in YOLO output is out of bounds

Open
#5,014 8 comments 0 reactions 0 assignees View on GitHub
community:bug community:needs-information community:reviewed
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
Value in YOLO output is out of bounds

**To Reproduce**
1.Export comments
2. Insert the official training script of YOLOv5
3.
```
python train.py --img 640 --epochs 600 --data dataset-1.yaml --weights yolov5s.pt
```
4. See the prompt:
```
Transferred 343/349 items from yolov5s.pt
AMP: checks passed
optimizer: SGD(lr=0.01) with parameter groups 57 weight(decay=0.0), 60 weight(decay=0.0005), 60 bias
train: Scanning C:\Users\x\datasets\project-9-at-2023-10-30-13-53-eadc03df\labels.cache... 282 images, 0 background
train: WARNING C:\Users\x\datasets\x1.png: ignoring corrupt image/label: non-normalized or out of bounds coordinates [ 1.0004]
val: Scanning C:\Users\x\datasets\project-9-at-2023-10-30-13-53-eadc03df\labels.cache... 282 images, 0 backgrounds,
train: WARNING C:\Users\x\datasets\project-9-at-2023-10-30-13-53-eadc03df\images\x1.png: ignoring corrupt image/label: non-normalized or out of bounds coordinates [ 1.0004]

AutoAnchor: 4.11 anchors/target, 0.950 Best Possible Recall (BPR). Anchors are a poor fit to dataset , attempting to improve...
```
x1:
(1920*1080)
```
4 0.3040172304425921 0.5002812148481438 0.6080344608851842 1.0004374453193348
8 0.275215598050244 0.24733366662500514 0.29996250468691316 0.4946673332500103
3 0.786839145106863 0.8529871266091742 0.4263217097862742 0.29402574678165144
1 0.8164604424446948 0.8536537099529238 0.3670791151106102 0.29269258009415233
1 0.6077990251218597 0.5002499687539058 0.7844019497562802 1.0003749531308588
```

**Expected behavior**
YOLO does not throw this error

**Screenshots**
null

**Environment (please complete the following information):**
OS:[win10 21H2 LTSC]
Label Studio Version [v1.9.1.post0]

**Additional context**
null

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.