Date | What/Why |
---|---|
2022/11/16 |
Initial draft. |
2023/01/30 |
Directory structure change. Added or modified features provided by the SDK. Updated the PDF build environment. |
2023/05/26 |
Fixed the notation of tool names and parentheses. |
Terms/Abbreviations | Meaning |
---|---|
Dev Container |
A Docker container with a software development environment available in GitHub Codespaces and VS Code. This SDK is provided based on Dev Container |
"Cloud App" |
AI application running in Cloud with data processed by "Edge Application" as input |
-
Reduce the effort by using an environment that already contains the components needed for development
-
Use an environment that doesn’t depend on other environments
-
Teams use the same environment
-
Understand an overview of the entire workflow for AI application development by trying it out with sample code
-
Develop smoothly even without knowledge of AI application development
-
Provides a container environment for developing AI applications
-
The container environment can be used in the following ways:
-
Using Codespaces
-
There are two types of UI: Browser and VS Code desktop
-
-
Build a container environment on your Local PC and use it from VS Code
-
-
The container environment includes:
-
Tools and operating environments available for each AI application development workflow
-
Procedure in each workflow
-
Sample code
-
See the following AI application development workflows and features to provide for details
-
-
-
Note
|
Specific details of each function contained in a container are described in the functional specifications of each function, not in this document. |
-
Users can get information needed to develop AI applications
-
Users can view documentation for each workflow in AI application development
-
Users can view functional specifications
-
-
No Docker images are included
-
No build environment for firmware of edge AI devices is included
-
Provides reference links for the sample "Cloud App"
flowchart TD;
%% definition
classDef object fill:#FFE699, stroke:#FFD700
classDef external_service fill:#BFBFBF, stroke:#6b8e23, stroke-dasharray: 10 2
style legend fill:#FFFFFF, stroke:#000000
%% impl
subgraph legend["Legend"]
process(Processing/User behavior)
end
flowchart TB
id0((Start))
id1(Project initial processing)
id2(Prepare dataset)
id3(Create an AI model)
id4(Quantize an AI model)
id5(Develop post-processing)
id6("Deploy an AI model and post-processing")
id7(Evaluation)
id8(((Finish)))
id0 -->id1
id1 -->id2
id2 -->id3
id3 -->id4
id4 -->id5
id5 -->id6
id6 -->id7
id7 -->id8
Workflow | Deliverables (documents) | Deliverables (runtime environment, sample) |
---|---|---|
Project initial processing |
|
- |
Prepare dataset |
|
|
Create an AI model |
|
|
Quantize an AI model |
|
|
Develop post-processing |
|
|
Import an AI model and post-processing into "Console for AITRIOS" |
|
|
Deploy an AI model and post-processing to edge AI devices |
|
|
Evaluation |
|
- |
Other features | Deliverables (documents) | Deliverables (runtime environment, sample) |
---|---|---|
Version control |
|
- |
-
If you want to use Codespaces, be prepared to use it
-
If you want to use Codespaces (VS Code desktop), install VS Code Codespaces extension
-
-
If you want to use VS Code on your Local PC, intall VS Code Remote Development Extension Pack
Start the development environment by the following procedure.
-
Codespaces (Browser)
-
Press the [Create codespace on <branch name>] from the [Codespaces] tab of the [Code] in the SDK repository
-
-
Codespaces (VS Code desktop)
-
Press the [Create codespace on <branch name>] from the [Codespaces] tab of the [Code] in the SDK repository
-
After creating Codespace, press the [Codespaces] in the bottom left of the Codespace browser
-
Select the [Open with VS Code] from the drop-down list
-
-
Local PC
-
Access the SDK repository from GitHub, clone the SDK repository to your environment, and open it in VS Code
-
Press the [><] mark at the bottom left of VS Code, or press the "Ctrl + Shift + P" to open the command palette and click the [Reopen in Container]
-
Note
|
To interrupt the container during startup, follow the procedure:
|
Note
|
To check container startup progress, follow the procedure:
|
The following documents are available:
-
Procedure for each workflow of AI application development (README)
-
Jump from the link in the repository top
README.md
to theREADME.md
in thetutorials
directory of the Directory structure for the container -
Jump from the link in the
README.md
in thetutorials
directory to theREADME.md
under each feature directory such as1_initialize
-
-
Functional specifications
-
Jump from the link in the repository top
README.md
to the functional specifications
-
-
Usability
-
When the SDK environment is built, the container is available for developing AI applications without any additional installation steps
-
Users must be able to navigate the container environment with the VS Code UI
-
-
Features provided by the SDK may not work properly depending on the specs of Codespaces or Local PC
-
For Codespaces, a Machine Type of 4-core or higher is recommended
-
-
No error codes and messages are defined in the SDK
-
Does not specify the UI response time on container startup, as it is affected by the user’s network environment for Codespaces and the user’s Docker operating environment for Local PC
-
However, both Codespaces and Local PC have a proven UI response within 10 seconds on startup
-
Performance was measured under the following conditions:
-
Codespaces: Select Machine Type 4-core
-
Local PC: Start on a machine with the following specs:
-
-
-
Item | Description |
---|---|
CPU |
Intel® Core™ i7-8665U CPU @ 1.90GHz 2.11 GHz |
RAM |
16.0 GB |
OS |
Windows 10 version 21H2 |
WSL2 |
Ubuntu-20.04 |