Update script.py
Browse filesAdd import torch.nn as nn
script.py
CHANGED
|
@@ -7,6 +7,7 @@ import timm
|
|
| 7 |
import torchvision.transforms as T
|
| 8 |
from PIL import Image
|
| 9 |
import torch
|
|
|
|
| 10 |
|
| 11 |
def is_gpu_available():
|
| 12 |
"""Check if the python package `onnxruntime-gpu` is installed."""
|
|
|
|
| 7 |
import torchvision.transforms as T
|
| 8 |
from PIL import Image
|
| 9 |
import torch
|
| 10 |
+
import torch.nn as nn
|
| 11 |
|
| 12 |
def is_gpu_available():
|
| 13 |
"""Check if the python package `onnxruntime-gpu` is installed."""
|