Update detection_utils.py
#7
by C-Achard - opened
34 unmodified lines3536373839404134 unmodified lines'custom', #modelmegadetector_model, # args for callable modelforce_reload=True,device=md_device)# send model to gpu if possibleif (md_device == torch.device('cuda')):34 unmodified lines35363738394041424334 unmodified lines'custom', #modelmegadetector_model, # args for callable modelforce_reload=True,device=md_device,trust_repo=True)# send model to gpu if possibleif (md_device == torch.device('cuda')):
detection_utils.py+3-1