TFLite是TensorFlow Lite的缩写,用于优化移动设备。导出命令为python export.py --weights yolov5s.pt --include tflite,导出后缀为yolov5s.tflite。导出的tflite位于原模型同级目录。验证可用性的命令为!python detect.py --weights /content/drive/MyDrive/yolo/wheat_head_best-fp16.tflite --source /content/drive/MyDrive/yolo/wheat_heads。导出的tflite模型可用性测试结果显示检测到了多个人。
完成下面两步后,将自动完成登录并继续当前操作。