device = torch.device("cuda:0" if cuda else "cpu")
if torch.cuda.device_count() > 1:
device = torch.device("cuda" if cuda else "cpu")
print("Found %g GPUs" % torch.cuda.device_count())
// print("Multi-GPU Issue: https://github.com/ultralytics/yolov3/issues/21")
// torch.cuda.set_device(0) // OPTIONAL: Set your GPU if multiple available
// print("Using ", torch.cuda.device_count(), " GPUs")