This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[08/29/2022-22:12:27] [TRT] [I] [MemUsageChange] Init CUDA: CPU +319, GPU +0, now: CPU 3610, GPU 2730 (MiB) | |
[08/29/2022-22:12:28] [TRT] [I] [MemUsageChange] Init builder kernel library: CPU +327, GPU +106, now: CPU 3956, GPU 2836 (MiB) | |
[08/29/2022-22:12:28] [TRT] [I] [MemUsageChange] Init CUDA: CPU +0, GPU +0, now: CPU 3956, GPU 2836 (MiB) | |
[08/29/2022-22:12:28] [TRT] [V] Registered plugin creator - ::GridAnchor_TRT version 1 | |
[08/29/2022-22:12:28] [TRT] [V] Registered plugin creator - ::GridAnchorRect_TRT version 1 | |
[08/29/2022-22:12:28] [TRT] [V] Registered plugin creator - ::NMS_TRT version 1 | |
[08/29/2022-22:12:28] [TRT] [V] Registered plugin creator - ::Reorg_TRT version 1 | |
[08/29/2022-22:12:28] [TRT] [V] Registered plugin creator - ::Region_TRT version 1 | |
[08/29/2022-22:12:28] [TRT] [V] Registered plugin creator - ::Clip_TRT version 1 | |
[08/29/2022-22:12:28] [TRT] [V] Registered plugin creator - ::LReLU_TRT version 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Exports a pytorch *.pt model to *.onnx format | |
Usage: | |
$ export PYTHONPATH="$PWD" && python models/onnx_export.py --weights ./weights/yolov5s.pt --img 640 --batch 1 | |
""" | |
import argparse | |
import onnx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar")) | |
{ | |
StatusBar statusBar = Windows.UI.ViewManagement.StatusBar.GetForCurrentView(); | |
// Hide the status bar | |
statusBar.HideAsync(); | |
} |