Casimiro de Almeida Barreto

Results 3 comments of Casimiro de Almeida Barreto

It can be fixed as follows: def output_to_target(output, width, height): # Convert model output to target format [batch_id, class_id, x, y, w, h, conf] if isinstance(output, torch.Tensor): output = output.cpu().numpy()...

Id does not seem to be related to opencv but to torch (where the fail happens)

Fixed the problem retrofitting torch and torchvision Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import torch...