chirmy commited on
Commit
810d1d3
·
verified ·
1 Parent(s): 83cc62b

Update script.py

Browse files

Add import torch.nn as nn

Files changed (1) hide show
  1. script.py +1 -0
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."""