Change the BN to GN in resnet

thanks, i just solved the error,so after replacing bn with gn i had to do model = model.to(device)

1 Like