Spaces:
Runtime error
Runtime error
David
commited on
Commit
•
b0fa478
1
Parent(s):
010e04f
Add application file corrected 2
Browse files
app.py
CHANGED
@@ -18,8 +18,8 @@ import matplotlib.patches as mpatches
|
|
18 |
from pathlib import Path
|
19 |
|
20 |
current_directory_path = Path(__file__).parent.resolve()
|
21 |
-
object_detection_model_path = current_directory_path
|
22 |
-
lane_detection_model_path = current_directory_path
|
23 |
|
24 |
label_map_object = {0: 'Unlabeled', 1: 'Building', 2: 'Fence', 3: 'Other',
|
25 |
4: 'Pedestrian', 5: 'Pole', 6: 'RoadLine', 7: 'Road', 8: 'SideWalk',
|
|
|
18 |
from pathlib import Path
|
19 |
|
20 |
current_directory_path = Path(__file__).parent.resolve()
|
21 |
+
object_detection_model_path = current_directory_path / "carla-image-segmentation-model.h5"
|
22 |
+
lane_detection_model_path = current_directory_path / "lane-detection-for-carla-model.h5"
|
23 |
|
24 |
label_map_object = {0: 'Unlabeled', 1: 'Building', 2: 'Fence', 3: 'Other',
|
25 |
4: 'Pedestrian', 5: 'Pole', 6: 'RoadLine', 7: 'Road', 8: 'SideWalk',
|