shriarul5273
commited on
Commit
•
d5981fc
1
Parent(s):
0f5eba6
docker update
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from torchvision import transforms
|
|
3 |
import torch
|
4 |
import torch.nn.functional as F
|
5 |
import gradio as gr
|
6 |
-
ort_sess = onnxruntime.InferenceSession("RFNet.onnx")
|
7 |
|
8 |
|
9 |
preprocess_img = transforms.Compose([
|
|
|
3 |
import torch
|
4 |
import torch.nn.functional as F
|
5 |
import gradio as gr
|
6 |
+
ort_sess = onnxruntime.InferenceSession("RFNet.onnx",use_external_data_format=True)
|
7 |
|
8 |
|
9 |
preprocess_img = transforms.Compose([
|