summaryrefslogtreecommitdiff
path: root/docs/nncc/v1.1.0/nncc_in_tizen_studio.md
blob: d0f89a49be55f2d9341635dd3fc1e2217f3b6aad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# nncc for Tizen Studio Plugin

## Environments

- Windows 10

## How to install nncc in Tizen Studio

### Things to prepare

- Tizen Studio with IDE
- Tizen Studio Package Manager
    - Will be automatically installed when Tizen Studio is installed
- Firewall Registration
    - To add a repository at Package Manager, firewall registration must be applied in advance.
        - IP Address : 107.110.2.162
        - Service Port : 80(TCP)

### Installation of SDK

1. Execute Package Manager of Tizen Studio.
1. Click cogwheel at right-top side.
1. Click `Extension SDK`.
1. Click `+` button.
1. Write `http://107.110.2.162/packages/ai_tool_ext/` at `Repository`, and anything at `Name`.
1. Click `OK`. And then click `OK` again. Refresh progress will be run.
1. At `Extension SDK` tab, click `install` of `nnas`

## Tutorial
Let's create nnpackage in Tizen Studio!

1. Enter [File] - [New] - [Tizen Project].
1. Select `Sample` and click `Next`.
1. Select `Mobile` with any version and click `Next`.
1. Select `Web Application` and click `Next`.
1. Select `Application` - `App Callee` and click `Next`.
1. Write `AppCallee` at `Project name` and click `Finish`.
1. Click `Finish`. (Default project name is `AppCallee`)
1. After project `AppCallee` was created, click `AppCallee` at Project Explorer.
1. Click `AI extension` (AI chip icon) at the top.
1. Give `.pb` file path to `Model File` and `.info` file path to `info file`.
    - Information about `.pb` and `.info`, please refer to [Getting Started](../v1.0.0/getting_started.md#10)
1. Click `OK`. Generating circle file progress will be done.
1. Check whether nnpackage is created in `AppCallee\res\shared` folder.
    - Suppose that `model.pb` and `model.info` were used
        ```
        AppCallee\res\shared
            └ model
                ├ model.circle
                └ metadata
                    └ MANIFEST
        ```