Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA error:device-side assert triggered #15

Open
chunleiml opened this issue Dec 26, 2019 · 1 comment
Open

CUDA error:device-side assert triggered #15

chunleiml opened this issue Dec 26, 2019 · 1 comment

Comments

@chunleiml
Copy link

@lxy5513 你好,
我在测试pose_estimation下的pose_track.py的时候,遇到如下问题,有时候在视频运行一段时候后发生,有时候在刚开始运行的时候发生,不知道什么原因,我显存是够的。
Loading network.....
Network successfully loaded
0%| | 0/16149 [00:00<?, ?it/s]/opt/conda/conda-bld/pytorch_1573049304260/work/aten/src/THC/THCTensorIndex.cu:307: void indexSelectSmallIndex(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T = float, IndexType = unsigned int, DstDim = 2, SrcDim = 2, IdxDim = -2]: block: [0,0,0], thread: [0,0,0] Assertion srcIndex < srcSelectDimSize failed.
/opt/conda/conda-bld/pytorch_1573049304260/work/aten/src/THC/THCTensorIndex.cu:307: void indexSelectSmallIndex(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T = float, IndexType = unsigned int, DstDim = 2, SrcDim = 2, IdxDim = -2]: block: [0,0,0], thread: [1,0,0] Assertion srcIndex < srcSelectDimSize failed.
/opt/conda/conda-bld/pytorch_1573049304260/work/aten/src/THC/THCTensorIndex.cu:307: void indexSelectSmallIndex(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T = float, IndexType = unsigned int, DstDim = 2, SrcDim = 2, IdxDim = -2]: block: [0,0,0], thread: [2,0,0] Assertion srcIndex < srcSelectDimSize failed.
/opt/conda/conda-bld/pytorch_1573049304260/work/aten/src/THC/THCTensorIndex.cu:307: void indexSelectSmallIndex(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, long) [with T = float, IndexType = unsigned int, DstDim = 2, SrcDim = 2, IdxDim = -2]: block: [0,0,0], thread: [3,0,0] Assertion srcIndex < srcSelectDimSize failed.
THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1573049304260/work/aten/src/THC/generic/THCTensorMathPointwise.cu line=219 error=710 : device-side assert triggered
cuda runtime error (710) : device-side assert triggered at /opt/conda/conda-bld/pytorch_1573049304260/work/aten/src/THC/generic/THCTensorMathPointwise.cu:219
0%| | 1/16149 [00:02<10:53:38, 2.43s/it]CUDA error: device-side assert triggered
0%| | 2/16149 [00:02<7:48:25, 1.74s/it]CUDA error: device-side assert triggered
CUDA error: device-side assert triggered

@chunleiml
Copy link
Author

@lxy5513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant