because there is no PyTorch tag at present, so TensorFlow is used. Would you like to add this tag to those with high reputation? Thanks tags ()
recently, I"m going to use the VGG model to train the data, and then I want to use GPU, but I always report an error when converting the VGG model to VGG.cuda (). At first, I thought it was a problem with the dataset, but then I converted VGG to .cuda () without doing anything, but I still reported an error. The code and error report are as follows: