I’m new to pytorch and tried to run a bilstm+attention sentiment classification model. It runs well before i get the following error, and I’ve set CUDA_LAUNCH_BLOCKING=1 and get the same error every time.But strangly, it happens at different step of training process and I use SequentialSampler.

%5DI)%24M%5BRFM_)Z5DOJPV%24N7IY1202×603 53 KB

Please give me some suggestions. Thanks!