"RuntimeError:max_pool2d_with_indices_out_cuda_frame failed with error code 0"
The PyTorch 1.4 engine is incompatible with that of PyTorch 1.3.
images = images.cuda() pred = model(images.permute(0, 3, 1, 2).contigous())
Before creating a training job, use the ModelArts development environment to debug the training code to maximally eliminate errors in code migration.