change_detection.pytorch
change_detection.pytorch copied to clipboard
RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:0". This is no longer allowed; the devices must match.
RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:0". This is no longer allowed; the devices must match. 使用预训练模型为imagenet时会报错,其他预训练模型就可以