groundtruth标签越界!!
问题定位
#### 原因
```python
bins = np.array(range(0, 103, 3))
label = int(np.digitize(score, bins)) - 1
# 当score为负数时,label < 0;
```
#### 后果
标签映射的时候出现 负数
```
tensor([[ 0.],[ 0.],[10.], [10.],[ -1.],[ 3.], [10.], [ 0.],[ 7.],[ 7.], [ 1.], [ 0.], [ 7.], [ 0.], [ 0.], [ 2.]], device='cuda:0')
```
解决方案
用下面的函数把grountruth标签做一个截断
```python
score = max(min(max_value, score), min_value);
```