Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,13 +5,7 @@ from torchvision import transforms
|
|
5 |
import gradio as gr
|
6 |
|
7 |
# Download the dataset
|
8 |
-
url = "https://cvbp-secondary.z19.web.core.windows.net/datasets/object_detection/odFridgeObjects.zip"
|
9 |
-
dest_dir = "fridge"
|
10 |
-
data_dir = icedata.load_data(url, dest_dir)
|
11 |
-
|
12 |
# Create the parser
|
13 |
-
|
14 |
-
|
15 |
parser = parsers.VOCBBoxParser(annotations_dir="Images/Annotated/augmented", images_dir="Images/Annotated/augmented")
|
16 |
|
17 |
|
|
|
5 |
import gradio as gr
|
6 |
|
7 |
# Download the dataset
|
|
|
|
|
|
|
|
|
8 |
# Create the parser
|
|
|
|
|
9 |
parser = parsers.VOCBBoxParser(annotations_dir="Images/Annotated/augmented", images_dir="Images/Annotated/augmented")
|
10 |
|
11 |
|