* update Write results * Update detect.py * Update test.py Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>