We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when i run train_baseline.py
########## error log ############
Traceback (most recent call last): File "/Person-reid-GAN-pytorch/train_baseline.py", line 371, in num_epochs=130) File "/Person-reid-GAN-pytorch/train_baseline.py", line 251, in train_model loss = criterion(outputs,labels,flags) File "/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call result = self.forward(*input, **kwargs) File "/Person-reid-GAN-pytorch/train_baseline.py", line 178, in forward return loss.mean() RuntimeError: cuda runtime error (59) : device-side assert triggered at /pytorch/aten/src/THC/generated/../THCReduceAll.cuh:339 /pytorch/aten/src/THC/THCTensorScatterGather.cu:97: void THCudaTensor_gatherKernel(TensorInfo<Real, IndexType>, TensorInfo<Real, IndexType>, TensorInfo<long, IndexType>, int, IndexType) [with IndexType = unsigned int, Real = float, Dims = 2]: block: [0,0,0], thread: [10,0,0] Assertion indexValue >= 0 && indexValue < src.sizes[dim] failed. /pytorch/aten/src/THC/THCTensorScatterGather.cu:97: void THCudaTensor_gatherKernel(TensorInfo<Real, IndexType>, TensorInfo<Real, IndexType>, TensorInfo<long, IndexType>, int, IndexType) [with IndexType = unsigned int, Real = float, Dims = 2]: block: [0,0,0], thread: [13,0,0] Assertion indexValue >= 0 && indexValue < src.sizes[dim] failed.
indexValue >= 0 && indexValue < src.sizes[dim]
The text was updated successfully, but these errors were encountered:
Hey, did you got the solution I am also facing the same issue while training GAN!
Sorry, something went wrong.
No branches or pull requests
when i run train_baseline.py
########## error log ############
Traceback (most recent call last):
File "/Person-reid-GAN-pytorch/train_baseline.py", line 371, in
num_epochs=130)
File "/Person-reid-GAN-pytorch/train_baseline.py", line 251, in train_model
loss = criterion(outputs,labels,flags)
File "/python3.6/site-packages/torch/nn/modules/module.py", line 491, in call
result = self.forward(*input, **kwargs)
File "/Person-reid-GAN-pytorch/train_baseline.py", line 178, in forward
return loss.mean()
RuntimeError: cuda runtime error (59) : device-side assert triggered at /pytorch/aten/src/THC/generated/../THCReduceAll.cuh:339
/pytorch/aten/src/THC/THCTensorScatterGather.cu:97: void THCudaTensor_gatherKernel(TensorInfo<Real, IndexType>, TensorInfo<Real, IndexType>, TensorInfo<long, IndexType>, int, IndexType) [with IndexType = unsigned int, Real = float, Dims = 2]: block: [0,0,0], thread: [10,0,0] Assertion
indexValue >= 0 && indexValue < src.sizes[dim]
failed./pytorch/aten/src/THC/THCTensorScatterGather.cu:97: void THCudaTensor_gatherKernel(TensorInfo<Real, IndexType>, TensorInfo<Real, IndexType>, TensorInfo<long, IndexType>, int, IndexType) [with IndexType = unsigned int, Real = float, Dims = 2]: block: [0,0,0], thread: [13,0,0] Assertion
indexValue >= 0 && indexValue < src.sizes[dim]
failed.The text was updated successfully, but these errors were encountered: