AddGaussianNoise should be applied on a tensor not a PIL.Image, so you would need to add this transformation after the ToTensor() transform:
transform5 = transforms.Compose([transforms.ToTensor(), transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)), AddGaussianNoise(0.,1.)])

PS: you can post code snippets by wrapping them  into three backticks ```, which makes debugging easier. I’ve formatted the code for you.