https://github.com/second-state/ssvm-tencent-tensorflow
https://github.com/second-state/ssvm-tencent-tensorflow
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/second-state/ssvm-tencent-tensorflow
- Owner: second-state
- License: apache-2.0
- Created: 2020-12-06T18:22:26.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-09T16:08:23.000Z (over 5 years ago)
- Last Synced: 2025-10-10T02:43:27.299Z (8 months ago)
- Language: HTML
- Size: 8.38 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Build
```
$ ssvmup build
```
Test
```
$ cloud/ssvm-tensorflow-lite pkg/mobilenet_bg.wasm < html/bird.json
$ cloud/ssvm-tensorflow-lite pkg/mobilenet_bg.wasm < html/PurpleGallinule.json
```
Deploy
```
$ cd cloud
$ cp ../pkg/mobilenet_bg.wasm .
$ zip mobilenet.zip *
```
Now you can upload the `mobilenet.zip` file to TencentCloud.
Live test
```
$ base64 -w 0 html/bird.jpg | curl -d @- -X POST https://service-aj0plx8u-1302315972.hk.apigw.tencentcs.com/release/my_hk
$ base64 -w 0 html/PurpleGallinule.jpg | curl -d @- -X POST https://service-aj0plx8u-1302315972.hk.apigw.tencentcs.com/release/my_hk
```
Live demo
Give it a try!
[English](https://second-state.github.io/wasm-learning/tencentcloud/ssvm-tflite/bird/html/index.html) | [中文](https://second-state.github.io/wasm-learning/tencentcloud/ssvm-tflite/bird/html/index-zh.html)