Hello! I’m trying to use the Deepstack Trainer and after testing it on the dataset provided in the DeepStack v1.2.1 documentation in Windows and the GoogleColab environment I receive the following error. I cannot find anything about this if anyone can point me in the right direction that would be wonderful.
Traceback (most recent call last):
File “C:\Users\Administrator\deepstack-trainer\train.py”, line 530, in
train(hyp, opt, device, tb_writer, wandb)
File “C:\Users\Administrator\deepstack-trainer\train.py”, line 90, in train
model = Model(opt.cfg or ckpt[‘model’].yaml, ch=3, nc=nc).to(device) # create
File “C:\Users\Administrator\deepstack-trainer\models\yolo.py”, line 96, in init
self._initialize_biases() # only run once
File “C:\Users\Administrator\deepstack-trainer\models\yolo.py”, line 151, in _initialize_biases
b[:, 4] += math.log(8 / (640 / s) ** 2) # obj (8 objects per 640 image)
RuntimeError: a view of a leaf Variable that requires grad is being used in an in-place operation.
Thank you for any help!!