text_plain_output_1.png
import torch

import torch
from torch.utils.data import Dataset
from torchvision import datasets
from torchvision.transforms import ToTensor
import matplotlib.pyplot as plt
from torch.utils.data import DataLoader
from tqdm import tqdm
import pickle
device = 'cuda' if torch.cuda.is_available() else 'cpu'
import pandas as pd
import numpy as np
print('torch.cuda.is_available:', torch.cuda.is_available())