RuntimeError: expected scalar type Float but found Half
把self.model = self.model.eval().to(device=‘cuda’).half()
中的.half()去掉
RuntimeError: expected scalar type Float but found Half
最新推荐文章于 2024-01-25 13:42:07 发布
RuntimeError: expected scalar type Float but found Half
把self.model = self.model.eval().to(device=‘cuda’).half()
中的.half()去掉