This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:edge2:npu:demos:vgg16 [2023/08/27 23:50] louis |
products:sbc:edge2:npu:demos:vgg16 [2025/04/09 23:30] (current) louis |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Demo4 - VGG16 ====== | + | ~~tag> |
| - | ===== Get Source Code ===== | + | ====== VGG16 TensorFlow Keras Edge2 Demo - 4 ====== |
| + | |||
| + | {{indexmenu_n> | ||
| + | |||
| + | ===== Introduction ===== | ||
| + | |||
| + | VGG16 is a classification model. It can assign a single label to an entire image. | ||
| + | |||
| + | Image and inference results on Edge2. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | | ||
| + | |||
| + | ===== Train Model ===== | ||
| ```shell | ```shell | ||
| Line 59: | Line 73: | ||
| Enter '' | Enter '' | ||
| - | ```python | + | ```python test.py |
| # Create RKNN object | # Create RKNN object | ||
| rknn = RKNN(verbose=True) | rknn = RKNN(verbose=True) | ||
| Line 106: | Line 120: | ||
| ==== Get source code ==== | ==== Get source code ==== | ||
| - | Clone the source code form our [[gh> | + | Clone the source code from our [[gh> |
| ```shell | ```shell | ||
| Line 135: | Line 149: | ||
| <WRAP tip > | <WRAP tip > | ||
| - | If your vgg16 model classes is not the same as cifar10, please change '' | + | If your **VGG16** |
| </ | </ | ||