YongseopKim / ONE-vscode

Visual Studio Code Extension of ONE compiler toolchain
Apache License 2.0
0 stars 0 forks source link

vscode on windows <-> ssh <-> linux #3

Closed YongseopKim closed 2 years ago

YongseopKim commented 2 years ago
$ /usr/bin/onecc -h
usage: onecc [-h] [-v] [-C CONFIG] [COMMAND <args>]

Run ONE driver via several commands or configuration file

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -V, --verbose         output additional information to stdout or stderr
  -C CONFIG, --config CONFIG
                        run with configuation file

compile to circle model:
  import                Convert given model to circle
  optimize              Optimize circle model
  quantize              Quantize circle model

package circle model:
  pack                  Package circle and metadata into nnpackage

run backend tools:
  codegen               Code generation tool
  profile               Profile backend model file
$ /usr/bin/one-build -h
usage: one-build [-h] [-v] [-V] [-C CONFIG] [-O OPTIMIZATION]

command line tool to run ONE drivers in customized order

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -V, --verbose         output additional information to stdout or stderr
  -C CONFIG, --config CONFIG
                        run with configuation file
  -O OPTIMIZATION       optimization name to use (No available optimization
                        options)
YongseopKim commented 2 years ago
sudo apt install nodejs
sudo apt install npm

~/Works/ONE-vscode(main ✔) npm install
YongseopKim commented 2 years ago

ONE: cfg import

ONE: build

on Windows image

on my linux pc image

on my linux pc image

on my linux pc image

YongseopKim commented 2 years ago

on linux

Reading configuration...
one-import-tflite is True
Add Import: inception_v3.tflite
Add Quantize: inception_v3_tflite.circle
Add Codegen: tv2
Done import configuration.
[1/25/2022, 9:57:17 PM] Running: ImportTF inception_v3.pb
[1/25/2022, 9:57:19 PM] Build Success.