07/1419:14:16- mmengine - INFO -**********Environmental information**********07/1419:14:17- mmengine - INFO - sys.platform: linux
07/1419:14:17- mmengine - INFO - Python:3.8.10(default, Jun 42021,15:09:15)[GCC 7.5.0]07/1419:14:17- mmengine - INFO - CUDA available:True07/1419:14:17- mmengine - INFO - numpy_random_seed:214748364807/1419:14:17- mmengine - INFO - GPU 0: NVIDIA GeForce RTX 2080 Ti
07/1419:14:17- mmengine - INFO - CUDA_HOME:/usr/local/cuda
07/1419:14:17- mmengine - INFO - NVCC: Cuda compilation tools, release 11.8, V11.8.8907/1419:14:17- mmengine - INFO - GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1)9.4.007/1419:14:17- mmengine - INFO - PyTorch:2.0.0+cu118
07/1419:14:17- mmengine - INFO - PyTorch compiling details: PyTorch built with:- GCC 9.3- C++ Version:201703- Intel(R) oneAPI Math Kernel Library Version 2022.2-Product Build 20220804for Intel(R)64 architecture applications
- Intel(R) MKL-DNN v2.7.3(Git Hash 6dbeffbae1f23cbbeae17adb7b5b13f1f37c080e)- OpenMP 201511(a.k.a. OpenMP 4.5)- LAPACK is enabled (usually provided by MKL)- NNPACK is enabled
- CPU capability usage: AVX2
- CUDA Runtime 11.8- NVCC architecture flags:-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86;-gencode;arch=compute_90,code=sm_90
- CuDNN 8.7- Magma 2.6.1- Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.8, CUDNN_VERSION=8.7.0, CXX_COMPILER=/opt/rh/devtoolset-9/root/usr/bin/c++, CXX_FLAGS=-D_GLIBCXX_USE_CXX11_ABI=0-fabi-version=11-Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_KINETO -DLIBKINETO_NOROCTRACER -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type-Werror=non-virtual-dtor -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format-Werror=cast-function-type-Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_DISABLE_GPU_ASSERTS=ON, TORCH_VERSION=2.0.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=1, USE_NNPACK=ON, USE_OPENMP=ON, USE_ROCM=OFF,07/1419:14:17- mmengine - INFO - TorchVision:0.15.1+cu118
07/1419:14:17- mmengine - INFO - OpenCV:4.8.007/1419:14:17- mmengine - INFO - MMEngine:0.7.207/1419:14:17- mmengine - INFO - MMCV:2.0.007/1419:14:17- mmengine - INFO - MMCV Compiler: GCC 9.307/1419:14:17- mmengine - INFO - MMCV CUDA Compiler:11.807/1419:14:17- mmengine - INFO - MMDeploy:1.2.0+0a8cbe2
07/1419:14:17- mmengine - INFO -07/1419:14:17- mmengine - INFO -**********Backend information**********07/1419:14:17- mmengine - INFO - tensorrt:None07/1419:14:17- mmengine - INFO - ONNXRuntime:1.8.107/1419:14:17- mmengine - INFO - ONNXRuntime-gpu:None07/1419:14:17- mmengine - INFO - ONNXRuntime custom ops: Available
07/1419:14:17- mmengine - INFO - pplnn:None07/1419:14:17- mmengine - INFO - ncnn:None07/1419:14:17- mmengine - INFO - snpe:None07/1419:14:17- mmengine - INFO - openvino:None07/1419:14:17- mmengine - INFO - torchscript:2.0.0+cu118
07/1419:14:17- mmengine - INFO - torchscript custom ops: NotAvailable
07/1419:14:18- mmengine - INFO - rknn-toolkit:None07/1419:14:18- mmengine - INFO - rknn-toolkit2:None07/1419:14:18- mmengine - INFO - ascend:None07/1419:14:18- mmengine - INFO - coreml:None07/1419:14:18- mmengine - INFO - tvm:None07/1419:14:18- mmengine - INFO - vacc:None07/1419:14:18- mmengine - INFO -07/1419:14:18- mmengine - INFO -**********Codebase information**********07/1419:14:18- mmengine - INFO - mmdet:3.1.007/1419:14:18- mmengine - INFO - mmseg:None07/1419:14:18- mmengine - INFO - mmpretrain:None07/1419:14:18- mmengine - INFO - mmocr:None07/1419:14:18- mmengine - INFO - mmagic:None07/1419:14:18- mmengine - INFO - mmdet3d:None07/1419:14:18- mmengine - INFO - mmpose:None07/1419:14:18- mmengine - INFO - mmrotate:None07/1419:14:18- mmengine - INFO - mmaction:None07/1419:14:18- mmengine - INFO - mmrazor:None07/1419:14:18- mmengine - INFO - mmyolo:None
YOLO-x转ONNX格式
下载YOLO-x模型的预训练权重
cd ..
cd mmdetection
# 下载YOLOX-X权重
!weget https://download.openmmlab.com/mmdetection/v2.0/yolox/yolox_x_8x8_300e_coco/yolox_x_8x8_300e_coco_20211126_140254-1ef88d67.pth -P checkpoint
cd ..