Traceback (most recent call last):


 "train.py", line 148, in <module>

train()


 "train.py", line 55, in train

fake_B, fake_B_raw, flow, weight, real_A, real_Bp, fake_B_last = modelG(input_A, input_B, inst_A, fake_B_prev_last)


 "/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/vid2vid/models/models.py", line 37, in forward

outputs = self.model(*inputs, **kwargs, dummy_bs=self.pad_bs)


 "/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 141, in forward

return self.module(*inputs[0], **kwargs[0])


 "/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/vid2vid/models/vid2vid_model_G.py", line 133, in forward

fake_B, fake_B_raw, flow, weight = self.generate_frame_train(netG, real_A_all, fake_B_prev, start_gpu, is_first_frame)


 "/vid2vid/models/vid2vid_model_G.py", line 178, in generate_frame_train

fake_B_feat, flow_feat, fake_B_fg_feat, use_raw_only)


 "/vid2vid/models/networks.py", line 204, in forward

downsample = self.model_down_seg(input) + self.model_down_img(img_prev)


 "/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/lib/python3.7/site-packages/torch/nn/modules/container.py", line 92, in forward

input = module(input)


 "/lib/python3.7/site-packages/torch/nn/modules/module.py", line 489, in __call__

result = self.forward(*input, **kwargs)


 "/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 320, in forward

self.padding, self.dilation, self.groups)
RuntimeError: Given groups=1, weight of size [64, 18, 7, 7], expected input[1, 12, 262, 198] to have 18 channels, but got 12 channels instead

Iteration:
0% 2/3016 [00:01<38:24,
1.31it/s]Traceback (most recent call last):


 "examples/seq_labeling/run_seq_labeling.py", line 823, in <module>

main()


 "examples/seq_labeling/run_seq_labeling.py", line 716, in main

args, train_dataset, model, tokenizer, labels, pad_token_label_id


 "examples/seq_labeling/run_seq_labeling.py", line 233, in train

scaled_loss.backward()


 "/usr/local/lib/python3.6/dist-packages/torch/tensor.py", line 198, in backward

torch.autograd.backward(self, gradient, retain_graph, create_graph)


 "/usr/local/lib/python3.6/dist-packages/torch/autograd/__init__.py", line 100, in backward

allow_unreachable=True)
# allow_unreachable flag
RuntimeError: transform: failed to synchronize: cudaErrorIllegalAddress: an illegal memory access was encountered
