Spaces:
Runtime error
Runtime error
Salman Naqvi commited on
Commit ·
68a7f69
1
Parent(s): f3a36de
Removed flagged images and fixed typos.
Browse files- app.ipynb +4 -4
- app.py +2 -2
- flagged/image/tmp6dcva8py.jpg +0 -0
- flagged/image/tmpvd6_25r3.jpg +0 -0
- flagged/log.csv +0 -4
- flagged/output/tmp12mf7l3w.json +0 -1
app.ipynb
CHANGED
|
@@ -185,7 +185,7 @@
|
|
| 185 |
},
|
| 186 |
{
|
| 187 |
"cell_type": "code",
|
| 188 |
-
"execution_count":
|
| 189 |
"outputs": [],
|
| 190 |
"source": [
|
| 191 |
"#|export\n",
|
|
@@ -199,9 +199,9 @@
|
|
| 199 |
"description = \"An image classifier that can tell whether an image is flooded \" \\\n",
|
| 200 |
" \"or not. Works well with images that have a top-down/aeiral \" \\\n",
|
| 201 |
" \"view of the land below.\" \\\n",
|
| 202 |
-
" \"This model was trained on the ResNet18 architecture and the \" \\\n",
|
| 203 |
" \"fastai library.\" \\\n",
|
| 204 |
-
" \"Check out the associated blog post with the link below!\"\n",
|
| 205 |
"article = \"<p style='text-align: center; font-size: 36px'><a \" \\\n",
|
| 206 |
" \"href='https://forbo7.github\" \\\n",
|
| 207 |
" \".io/ForBlog/fastai/image%20classification/2022/09/12/Detecting\" \\\n",
|
|
@@ -297,7 +297,7 @@
|
|
| 297 |
},
|
| 298 |
{
|
| 299 |
"cell_type": "code",
|
| 300 |
-
"execution_count":
|
| 301 |
"outputs": [],
|
| 302 |
"source": [
|
| 303 |
"nb_export('app.ipynb', '.')"
|
|
|
|
| 185 |
},
|
| 186 |
{
|
| 187 |
"cell_type": "code",
|
| 188 |
+
"execution_count": 32,
|
| 189 |
"outputs": [],
|
| 190 |
"source": [
|
| 191 |
"#|export\n",
|
|
|
|
| 199 |
"description = \"An image classifier that can tell whether an image is flooded \" \\\n",
|
| 200 |
" \"or not. Works well with images that have a top-down/aeiral \" \\\n",
|
| 201 |
" \"view of the land below.\" \\\n",
|
| 202 |
+
" \" This model was trained on the ResNet18 architecture and the \" \\\n",
|
| 203 |
" \"fastai library.\" \\\n",
|
| 204 |
+
" \" Check out the associated blog post with the link below!\"\n",
|
| 205 |
"article = \"<p style='text-align: center; font-size: 36px'><a \" \\\n",
|
| 206 |
" \"href='https://forbo7.github\" \\\n",
|
| 207 |
" \".io/ForBlog/fastai/image%20classification/2022/09/12/Detecting\" \\\n",
|
|
|
|
| 297 |
},
|
| 298 |
{
|
| 299 |
"cell_type": "code",
|
| 300 |
+
"execution_count": 33,
|
| 301 |
"outputs": [],
|
| 302 |
"source": [
|
| 303 |
"nb_export('app.ipynb', '.')"
|
app.py
CHANGED
|
@@ -28,9 +28,9 @@ title = 'Flood Classifier'
|
|
| 28 |
description = "An image classifier that can tell whether an image is flooded " \
|
| 29 |
"or not. Works well with images that have a top-down/aeiral " \
|
| 30 |
"view of the land below." \
|
| 31 |
-
"This model was trained on the ResNet18 architecture and the " \
|
| 32 |
"fastai library." \
|
| 33 |
-
"Check out the associated blog post with the link below!"
|
| 34 |
article = "<p style='text-align: center; font-size: 36px'><a " \
|
| 35 |
"href='https://forbo7.github" \
|
| 36 |
".io/ForBlog/fastai/image%20classification/2022/09/12/Detecting" \
|
|
|
|
| 28 |
description = "An image classifier that can tell whether an image is flooded " \
|
| 29 |
"or not. Works well with images that have a top-down/aeiral " \
|
| 30 |
"view of the land below." \
|
| 31 |
+
" This model was trained on the ResNet18 architecture and the " \
|
| 32 |
"fastai library." \
|
| 33 |
+
" Check out the associated blog post with the link below!"
|
| 34 |
article = "<p style='text-align: center; font-size: 36px'><a " \
|
| 35 |
"href='https://forbo7.github" \
|
| 36 |
".io/ForBlog/fastai/image%20classification/2022/09/12/Detecting" \
|
flagged/image/tmp6dcva8py.jpg
DELETED
|
Binary file (10.3 kB)
|
|
|
flagged/image/tmpvd6_25r3.jpg
DELETED
|
Binary file (375 kB)
|
|
|
flagged/log.csv
DELETED
|
@@ -1,4 +0,0 @@
|
|
| 1 |
-
image,output,flag,username,timestamp
|
| 2 |
-
/Users/salmannaqvi/DataspellProjects/FloodDetector/flagged/image/tmpvd6_25r3.jpg,/Users/salmannaqvi/DataspellProjects/FloodDetector/flagged/output/tmp12mf7l3w.json,,,2022-09-17 19:10:43.606594
|
| 3 |
-
,,,,2022-09-17 19:19:07.108909
|
| 4 |
-
/Users/salmannaqvi/DataspellProjects/FloodDetector/flagged/image/tmp6dcva8py.jpg,,,,2022-09-17 19:19:09.166293
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
flagged/output/tmp12mf7l3w.json
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
{"label": "Flooded", "confidences": [{"label": "Flooded", "confidence": 0.531377911567688}, {"label": "Not Flooded", "confidence": 0.4686220586299896}]}
|
|
|
|
|
|