SoonFa
SoonFa
```python pred_boxes[0] = x.data.view(nB*nA*nH*nW) + grid_x pred_boxes[1] = y.data.view(nB*nA*nH*nW) + grid_y pred_boxes[2] = torch.exp(w.data).view(nB*nA*nH*nW) * anchor_w pred_boxes[3] = torch.exp(h.data).view(nB*nA*nH*nW) * anchor_h ```
> I would like to ask, I have a dataset of my own, how should I proceed to divide it step by step into a dataset suitable for small sample...
> @SoonFa Just set some configs in `test.py` > > https://github.com/csuhan/VFA/blob/e35411eb22b4fc48b524debe58dc7c09be2bf9a6/test.py#L30-L37 when I run > python test.py configs/vfa/voc/vfa_split1/vfa_r101_c4_8xb4_voc-split1_1shot-fine-tuning.py work_dirs/vfa_r101_c4_8xb4_voc-split1_1shot-fine-tuning/iter_400.pth --eval mAP --show --show-dir ./imgs some error come out > warnings.warn(...