update detect.py
in order to support torch script#5109
Merged
glenn-jocher merged 5 commits intoultralytics:masterfrom andreiionutdamian:patch-1Oct 12, 2021
+1-1
detect.py
in order to support torch script#5109