I am new to pytorch and would like to run some examples on a computer without internet connection.
In the tutorial page the following code is given for a computer with internet connection. I would appreciate it if someone could advise on how to do the same for a computer with no internet connection.
import torch
from torch import nn
from torch.utils.data import DataLoader
from torchvision import datasets
from torchvision.transforms import ToTensor, Lambda
training_data = datasets.FashionMNIST(
root="data",
train=True,
download=True,
transform=ToTensor()
)
test_data = datasets.FashionMNIST(
root="data",
train=False,
download=True,
transform=ToTensor()
)