Skip to content

Commit

Permalink
fixing copyright and licensing info
Browse files Browse the repository at this point in the history
  • Loading branch information
zsszaboo committed Oct 15, 2024
1 parent 8276ce4 commit 1432832
Show file tree
Hide file tree
Showing 120 changed files with 271 additions and 77 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: MIT

*.onnx filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (C) 2023 Siemens AG
SPDX-FileCopyrightText: Copyright (C) 2023 Siemens AG
SPDX-License-Identifier: MIT
-->
Expand Down
5 changes: 5 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright (C) Siemens AG 2023
SPDX-License-Identifier: MIT
-->

## Do you want to contribute code? ##

Thanks for your interest in contributing. Anybody is free to propose any changes to this repository using Pull Requests. We appreciate every Pull Request, but merging cannot be guaranteed. Before you submit your code, please check the following prerequisites:
Expand Down
2 changes: 1 addition & 1 deletion .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (C) 2023 Siemens AG
SPDX-FileCopyrightText: Copyright (C) 2023 Siemens AG
SPDX-License-Identifier: MIT
-->
Expand Down
2 changes: 1 addition & 1 deletion .github/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (C) 2023 Siemens AG
SPDX-FileCopyrightText: Copyright (C) 2023 Siemens AG
SPDX-License-Identifier: MIT
-->
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved."
#
# SPDX-License-Identifier: MIT

name: Gitleaks Scan

on: [push, pull_request]
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright (C) Siemens AG 2023
SPDX-License-Identifier: MIT
-->

# Version History

Tutorials for AI Software Development Kit
Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (C) 2023 Siemens AG
SPDX-FileCopyrightText: Copyright (C) 2023 Siemens AG
SPDX-License-Identifier: MIT
-->
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright (C) 2023 Siemens AG
SPDX-FileCopyrightText: Copyright (C) 2023 Siemens AG
SPDX-License-Identifier: MIT
-->
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The project is licensed under the MIT license given below.

## MIT License

Copyright (c) 2024 Siemens
SPDX-FileCopyrightText: Copyright (C) 2024 Siemens

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright (C) Siemens AG 2023
SPDX-License-Identifier: MIT
-->

# AI SDK, Tutorials and guides

## Introduction to AI SDK
Expand Down
5 changes: 5 additions & 0 deletions e2e-tutorials/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: Copyright (C) Siemens AG 2023
SPDX-License-Identifier: MIT
-->

# End-to-end tutorials

These Machine Learning tutorials walks you through the entire ML workflow from creating and training models to packaging them for AI Inference Server and testing them in your local environment.
Expand Down
6 changes: 5 additions & 1 deletion e2e-tutorials/batch_state_identifier/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!-- Copyright (C) Siemens AG 2021. All Rights Reserved. -->
<!--
SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved.
SPDX-License-Identifier: MIT
-->

# AI SDK Batch State Identifier example

Expand Down
4 changes: 4 additions & 0 deletions e2e-tutorials/batch_state_identifier/README_OSS.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
SPDX-License-Identifier: MIT
-->

<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html>
<html lang="en">
Expand Down
4 changes: 4 additions & 0 deletions e2e-tutorials/batch_state_identifier/conda.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2020 - 2024 Siemens AG
#
# SPDX-License-Identifier: MIT

name: batch_state_identifier
channels:
- defaults
Expand Down
4 changes: 3 additions & 1 deletion e2e-tutorials/batch_state_identifier/entrypoint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
#
# SPDX-License-Identifier: MIT

import sys
import json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"copyright": "Copyright (C) Siemens AG 2021. All Rights Reserved."
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Create a trained model\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
{
"cell_type": "markdown",
"metadata": {
"copyright": "Copyright (C) Siemens AG 2021. All Rights Reserved."
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Create the inference wrapper\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"copyright": "Copyright (C) Siemens AG 2021. All Rights Reserved."
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Create an edge configuration package \n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"copyright": "Copyright (C) Siemens AG 2021. All Rights Reserved."
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Testing the edge configuration package\n",
Expand Down
4 changes: 4 additions & 0 deletions e2e-tutorials/batch_state_identifier/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2023
#
# SPDX-License-Identifier: MIT

# Direct dependencies
simaticai==2.2.0
joblib==1.4.2 # Transitive dependency from simaticai
Expand Down
4 changes: 3 additions & 1 deletion e2e-tutorials/batch_state_identifier/src/si/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
#
# SPDX-License-Identifier: MIT

import numpy as np

Expand Down
4 changes: 3 additions & 1 deletion e2e-tutorials/batch_state_identifier/src/si/pipeline.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
#
# SPDX-License-Identifier: MIT

"""
Building blocks for scikit-learn pipelines.
Expand Down
4 changes: 3 additions & 1 deletion e2e-tutorials/batch_state_identifier/src/si/preprocessing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
#
# SPDX-License-Identifier: MIT

import numpy as np
import pandas
Expand Down
6 changes: 5 additions & 1 deletion e2e-tutorials/image_classification/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!-- Copyright (C) Siemens AG 2021. All Rights Reserved. -->
<!--
SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved.
SPDX-License-Identifier: MIT
-->

# AI SDK Image Classification project template

Expand Down
4 changes: 4 additions & 0 deletions e2e-tutorials/image_classification/README_OSS.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<!--
SPDX-License-Identifier: MIT
-->

<!-- saved from url=(0014)about:internet -->
<!DOCTYPE html>
<html lang="en">
Expand Down
4 changes: 4 additions & 0 deletions e2e-tutorials/image_classification/conda.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved."
#
# SPDX-License-Identifier: MIT

name: image_classification
channels:
- defaults
Expand Down
4 changes: 3 additions & 1 deletion e2e-tutorials/image_classification/entrypoint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
#
# SPDX-License-Identifier: MIT

import sys
import json
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"copyright": "Copyright (C) Siemens AG 2021. All Rights Reserved."
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Train a Classification Model\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"copyright": "Copyright (C) Siemens AG 2021. All Rights Reserved."
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Create the inference wrapper\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"copyright": "Copyright (C) Siemens AG 2021. All Rights Reserved."
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Create a TensorFlow Lite edge configuration package\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
{
"cell_type": "markdown",
"metadata": {
"copyright": "Copyright (C) Siemens AG 2021. All Rights Reserved."
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Test the edge configuration package locally\n",
Expand Down
4 changes: 4 additions & 0 deletions e2e-tutorials/image_classification/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2023
#
# SPDX-License-Identifier: MIT

# direct dependencies
simaticai==2.2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2020 - 2024 Siemens AG
#
# SPDX-License-Identifier: MIT

Pillow==10.3.0
tflite_runtime==2.13.0
opencv_python_headless ==4.9.0.80
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2020 - 2024 Siemens AG
#
# SPDX-License-Identifier: MIT

Pillow==10.3.0
tflite_runtime==2.14.0
opencv_python_headless ==4.9.0.80
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (C) 2020 - 2024 Siemens AG
#
# SPDX-License-Identifier: MIT

Pillow==10.3.0
protobuf==3.20.3
tensorflow==2.17.0
Expand Down
4 changes: 3 additions & 1 deletion e2e-tutorials/image_classification/src/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
#
# SPDX-License-Identifier: MIT
4 changes: 3 additions & 1 deletion e2e-tutorials/image_classification/src/payload.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
#
# SPDX-License-Identifier: MIT

"""
Common methods for handling image payload with different connectors.
Expand Down
4 changes: 3 additions & 1 deletion e2e-tutorials/image_classification/src/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
#
# SPDX-License-Identifier: MIT

import itertools
import numpy
Expand Down
4 changes: 3 additions & 1 deletion e2e-tutorials/image_classification/src/vision_classifier.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
#
# SPDX-License-Identifier: MIT

"""
Experimental inference wrapper for standard AI Inference Server that feeds Vision Connector payload into a TensorFlow image classification model
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
# SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved. Confidential.
#
# SPDX-License-Identifier: MIT

"""
Experimental inference wrapper for standard AI Inference Server that feeds Vision Connector payload into a TensorFlow image classification model
Expand Down
6 changes: 5 additions & 1 deletion e2e-tutorials/object_detection/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<!-- Copyright (C) Siemens AG 2021. All Rights Reserved. -->
<!--
SPDX-FileCopyrightText: Copyright (C) Siemens AG 2021. All Rights Reserved.
SPDX-License-Identifier: MIT
-->

# AI SDK Object Detection Tutorial

Expand Down
4 changes: 4 additions & 0 deletions e2e-tutorials/object_detection/conda.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved."
#
# SPDX-License-Identifier: MIT

name: object_detection
channels:
- defaults
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"copyright": "Copyright (C) Siemens AG 2021. All Rights Reserved."
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Creating Test Set\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Object Detection Model\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"attachments": {},
"cell_type": "markdown",
"metadata": {
"copyright": "Copyright (C) Siemens AG 2021. All Rights Reserved."
"SPDX-FileCopyrightText": "Copyright (C) Siemens AG 2021. All Rights Reserved.",
"SPDX-License-Identifier": "MIT"
},
"source": [
"# Create the inference wrappers\n",
Expand Down
Loading

0 comments on commit 1432832

Please sign in to comment.