YOLOX Model conversion error reported: [TensorRT] ERROR: runtime.cpp (25) – Cuda Error in allocate: 2 (out of memory)
Configuration:
ubuntu 18.04
pytroch 1.9.0
cuda10.0
cudnn 7.5.0
TensorRT 5.1.5
torch2trt 0.3.0
Solution:
Change the max_workspace_size
in trt.py
Read More:
- [Solved] theano-GPU Error: pygpu.gpuarray.GpuArrayException: b‘cuMemAlloc: CUDA_ERROR_OUT_OF_MEMORY: out of memory
- [How to Solve] RuntimeError: CUDA out of memory.
- How to Solve Error: RuntimeError CUDA out of memory
- [Solved] RuntimeError: cuda runtime error (100) : no CUDA-capable device is detected at
- [Solved] RuntimeError: DefaultCPUAllocator: not enough memory: you tried to allocate 1105920 bytes.
- RuntimeError: CUDA error: an illegal memory access was encountered
- [Solved] RuntimeError: cuda runtime error (801) : operation not supported at
- [Solved] RuntimeError: Error(s) in loading state dict for YOLOX:
- [Solved] RuntimeError: cuda runtime error: device-side assert trigger
- Pytorch CUDA Error: UserWarning: CUDA initialization: CUDA unknown error…
- [Solved] ByteTrack Error: ModuleNotFoundError: No module named ‘yolox’
- [Solved] Pycharm paddle Error: Error: (External) CUDA error(35), CUDA driver version is insufficient for CUDA
- Pytorch Loading model error: RuntimeError: Error(s) in loading state_dict for Model: Missing key(s) in state_dict
- How to Solve Yolox Training C Disk Full Issue
- `Model.XXX` is not supported when the `Model` instance was constructed with eager mode enabled
- [Solved] torchsummary Error: RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.F
- [Solved] RuntimeError: CUDA error: CUBLAS_STATUS_EXECUTION_FAILED when calling `cubla…
- [Solved] RuntimeError: cublas runtime error : resource allocation failed at
- [Solved] PyTorch Load Model Error: Missing key(s) RuntimeError: Error(s) in loading state_dict for
- pytorch RuntimeError: Error(s) in loading state_ Dict for dataparall… Import model error solution