CPUマシンでのGPUモデルの読み出し. model_path = 'model.pth' model.load_state_dict(torch.load(model_path, map_location=torch.device('cpu'))) ...
確定! 回上一頁