Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified 'Smart Cities' notebook #304

Merged
merged 6 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ dist
/notebooks/projects
/notebooks/benchmarks

# Use case notebook data
/notebooks/use_cases/deployments
/notebooks/use_cases/data
!/notebooks/use_cases/data/102_from_zero_to_hero

# Documentation builds
/docs/build

Expand Down
945 changes: 945 additions & 0 deletions notebooks/use_cases/103_parking_lot_train2deployment.ipynb

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion notebooks/use_cases/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# noqa: D104

# Copyright (C) 2022 Intel Corporation
# Copyright (C) 2024 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,6 +15,7 @@
# and limitations under the License.


from .constants import PARKING_LOT_VIDEO_HASH
from .image import display_image_in_notebook, simulate_low_light_image
from .upload import Uploader
from .video import VideoPlayer
Expand All @@ -24,4 +25,5 @@
"display_image_in_notebook",
"VideoPlayer",
"Uploader",
"PARKING_LOT_VIDEO_HASH",
]
17 changes: 17 additions & 0 deletions notebooks/use_cases/utils/constants.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# noqa: D104

# Copyright (C) 2024 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions
# and limitations under the License.

PARKING_LOT_VIDEO_HASH = "28bae958647218e58e473c8365403b3e5061aed9e62e4a03adde3b778d8a8adb0dc50bc08df880a134dd2c558133ae7b318f79c7b94eb2997204272171ee47bb"
Loading