Reference:
sudo fdisk -l
Reference:
sudo fdisk -l
set_seed = 0 | |
DEVICE = 'cuda' | |
import torch | |
torch.manual_seed(set_seed) | |
torch.backends.cudnn.deterministic = True | |
torch.backends.cudnn.benchmark = False | |
import torch.nn as nn | |
import random |
set_seed = 0 | |
DEVICE = 'cuda' | |
import torch | |
torch.manual_seed(set_seed) | |
torch.backends.cudnn.deterministic = True | |
torch.backends.cudnn.benchmark = False | |
import torch.nn as nn | |
import torch.nn.functional as F |