-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from SonySemiconductorSolutions/feature/0.2.0
Release 0.2.0
- Loading branch information
Showing
191 changed files
with
18,697 additions
and
1,430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
# Copyright 2022 Sony Semiconductor Solutions Corp. All rights reserved. | ||
# | ||
# 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. | ||
|
||
set -e | ||
|
||
docker exec -it cvat_server bash -ic 'python3 ~/manage.py createsuperuser' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# cvat v2.3.0 docker compose configuration for devcontainer with docker in docker | ||
|
||
version: '3.3' | ||
|
||
services: | ||
cvat_db: | ||
restart: "no" | ||
init: true | ||
|
||
cvat_redis: | ||
restart: "no" | ||
init: true | ||
|
||
cvat_server: | ||
restart: "no" | ||
init: true | ||
labels: | ||
- traefik.http.routers.cvat.rule=(Host(`${CVAT_HOST:-localhost}`) && | ||
PathPrefix(`/api/`, `/git/`, `/opencv/`, `/static/`, `/admin`, `/documentation/`, `/django-rq`)) || | ||
(Host(`127.0.0.1`) && PathPrefix(`/api/`, `/git/`, `/opencv/`, `/static/`, `/admin`, `/documentation/`, `/django-rq`)) | ||
|
||
cvat_utils: | ||
restart: "no" | ||
init: true | ||
|
||
cvat_worker_default: | ||
restart: "no" | ||
init: true | ||
|
||
cvat_worker_low: | ||
restart: "no" | ||
init: true | ||
|
||
cvat_worker_webhooks: | ||
restart: "no" | ||
init: true | ||
|
||
cvat_ui: | ||
restart: "no" | ||
init: true | ||
labels: | ||
- traefik.http.routers.cvat-ui.rule=Host(`${CVAT_HOST:-localhost}`) || Host(`127.0.0.1`) | ||
|
||
traefik: | ||
restart: "no" | ||
init: true | ||
|
||
cvat_opa: | ||
restart: "no" | ||
init: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
# Copyright 2022 Sony Semiconductor Solutions Corp. All rights reserved. | ||
# | ||
# 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. | ||
|
||
set -e | ||
|
||
cd .devcontainer/cvat/cvat/ | ||
docker compose -f docker-compose.yml -f ../docker-compose.devcontainer.yml up -d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
# Copyright 2022 Sony Semiconductor Solutions Corp. All rights reserved. | ||
# | ||
# 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. | ||
|
||
set -e | ||
|
||
cd .devcontainer/cvat/cvat/ | ||
docker compose stop |
1 change: 1 addition & 0 deletions
1
.devcontainer/dependencies/aitrios-sdk-console-access-lib-python
Submodule aitrios-sdk-console-access-lib-python
added at
1a4b54
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/usr/bin/env bash | ||
# Copyright 2022 Sony Semiconductor Solutions Corp. All rights reserved. | ||
# | ||
# 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. | ||
|
||
set -ex | ||
|
||
# checkout git submodules before container creation at starting devcontainer/codespaces only first time. | ||
# (below if statement checking is a workaround of git CVE-2022-24765) | ||
if [[ ! "$(ls -A $PWD/.devcontainer/dependencies/aitrios-sdk-console-access-lib-python)" ]] | ||
then | ||
git submodule update --init --recursive $PWD/.devcontainer/dependencies/aitrios-sdk-console-access-lib-python | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@rem Copyright 2023 Sony Semiconductor Solutions Corp. All rights reserved. | ||
@rem | ||
@rem Licensed under the Apache License, Version 2.0 (the "License"); | ||
@rem you may not use this file except in compliance with the License. | ||
@rem You may obtain a copy of the License at | ||
@rem | ||
@rem http://www.apache.org/licenses/LICENSE-2.0 | ||
@rem | ||
@rem Unless required by applicable law or agreed to in writing, software | ||
@rem distributed under the License is distributed on an "AS IS" BASIS, | ||
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
@rem See the License for the specific language governing permissions and | ||
@rem limitations under the License. | ||
@echo on | ||
|
||
@rem checkout git submodules before container creation at starting devcontainer/codespaces only first time. | ||
@rem (below if statement checking is a workaround of git CVE-2022-24765) | ||
|
||
SET CMDDIR=%~dp0 | ||
|
||
SET LIB=%CMDDIR%dependencies\aitrios-sdk-console-access-lib-python | ||
|
||
dir /b /a %LIB% | findstr "." >nul && (set EMPTY=0) || (set EMPTY=1) | ||
if %EMPTY% EQU 1 ( | ||
git submodule update --init --recursive .devcontainer\dependencies\aitrios-sdk-console-access-lib-python | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
# Copyright 2022 Sony Semiconductor Solutions Corp. All rights reserved. | ||
# | ||
# 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. | ||
|
||
set -e | ||
|
||
wget https://github.com/bytecodealliance/wasm-micro-runtime/releases/download/WAMR-1.1.2/wamr-lldb-1.1.2-x86_64-ubuntu-20.04.tar.gz -P .devcontainer/wamr-ide/ | ||
|
||
wget https://github.com/bytecodealliance/wasm-micro-runtime/releases/download/WAMR-1.1.2/wamr_ide-1.1.2.tar.gz -P .devcontainer/wamr-ide/ | ||
|
||
tar -zxvf .devcontainer/wamr-ide/wamr_ide-1.1.2.tar.gz -C /home/vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
# Copyright 2022 Sony Semiconductor Solutions Corp. All rights reserved. | ||
# | ||
# 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. | ||
|
||
set -e | ||
|
||
mkdir -p .devcontainer/wamr-ide/wamr-lldb-1.1.2-x86_64-ubuntu-20.04 | ||
|
||
tar -zxvf .devcontainer/wamr-ide/wamr-lldb-1.1.2-x86_64-ubuntu-20.04.tar.gz -C .devcontainer/wamr-ide/wamr-lldb-1.1.2-x86_64-ubuntu-20.04/ | ||
|
||
cp -rdf .devcontainer/wamr-ide/wamr-lldb-1.1.2-x86_64-ubuntu-20.04/inst/* ~/.vscode-remote/extensions/wamr.wamride-1.1.2/resource/debug/linux/ | ||
|
||
rm -rdf .devcontainer/wamr-ide/wamr-lldb-1.1.2-x86_64-ubuntu-20.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
# Copyright 2022 Sony Semiconductor Solutions Corp. All rights reserved. | ||
# | ||
# 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. | ||
|
||
set -e | ||
|
||
mkdir -p .devcontainer/wamr-ide/wamr-lldb-1.1.2-x86_64-ubuntu-20.04 | ||
|
||
tar -zxvf .devcontainer/wamr-ide/wamr-lldb-1.1.2-x86_64-ubuntu-20.04.tar.gz -C .devcontainer/wamr-ide/wamr-lldb-1.1.2-x86_64-ubuntu-20.04/ | ||
|
||
cp -rdf .devcontainer/wamr-ide/wamr-lldb-1.1.2-x86_64-ubuntu-20.04/inst/* /home/vscode/.vscode-server/extensions/wamr.wamride-1.1.2/resource/debug/linux/ | ||
|
||
rm -rdf .devcontainer/wamr-ide/wamr-lldb-1.1.2-x86_64-ubuntu-20.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
# python | ||
__pycache__/ | ||
.ipynb_checkpoints/ | ||
.coverage | ||
.pytest_cache | ||
|
||
# c/c++ | ||
*.o | ||
|
||
# documents | ||
.asciidoctor | ||
diag-*.png | ||
|
||
# resources | ||
tutorials/4_quantize_model/images/ | ||
# python | ||
__pycache__/ | ||
.ipynb_checkpoints/ | ||
.coverage | ||
.pytest_cache | ||
|
||
# c/c++ | ||
*.o | ||
|
||
# documents | ||
.asciidoctor | ||
diag-*.png | ||
|
||
# tutorials setting | ||
tutorials/**/configuration.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[submodule ".devcontainer/dependencies/aitrios-sdk-console-access-lib-python"] | ||
path = .devcontainer/dependencies/aitrios-sdk-console-access-lib-python | ||
url = https://github.com/SonySemiconductorSolutions/aitrios-sdk-console-access-lib-python | ||
branch = develop |
Oops, something went wrong.