Modify import code
Browse files
README.md
CHANGED
|
@@ -15,13 +15,20 @@ where the data came from and in which folder it must go.
|
|
| 15 |
## Neccessary Package
|
| 16 |
- Since the model all runs on Hugging Face, you don't need to install any packages.
|
| 17 |
- However, if you do want to run the model locally, you will need to install these following packages:
|
| 18 |
-
``import torch
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
import torch.optim as optim
|
|
|
|
| 21 |
import torch.nn.functional as F
|
|
|
|
| 22 |
import numpy as np
|
|
|
|
| 23 |
import torchvision
|
|
|
|
| 24 |
from torchvision import *
|
|
|
|
| 25 |
from torch.utils.data import Dataset, DataLoader``
|
| 26 |
|
| 27 |
## Running
|
|
|
|
| 15 |
## Neccessary Package
|
| 16 |
- Since the model all runs on Hugging Face, you don't need to install any packages.
|
| 17 |
- However, if you do want to run the model locally, you will need to install these following packages:
|
| 18 |
+
``import torch
|
| 19 |
+
|
| 20 |
+
import torch.nn as nn
|
| 21 |
+
|
| 22 |
import torch.optim as optim
|
| 23 |
+
|
| 24 |
import torch.nn.functional as F
|
| 25 |
+
|
| 26 |
import numpy as np
|
| 27 |
+
|
| 28 |
import torchvision
|
| 29 |
+
|
| 30 |
from torchvision import *
|
| 31 |
+
|
| 32 |
from torch.utils.data import Dataset, DataLoader``
|
| 33 |
|
| 34 |
## Running
|