mirror of
https://github.com/wassname/keras-js.git
synced 2026-09-10 12:15:12 +08:00
update demos home links
This commit is contained in:
@@ -27,22 +27,27 @@ const DEMO_INFO_DEV = [
|
||||
const DEMO_INFO_PROD = [
|
||||
{
|
||||
title: 'Basic Convnet for MNIST',
|
||||
path: 'mnist-cnn',
|
||||
imagePath: 'demos/assets/mnist-cnn.png'
|
||||
},
|
||||
{
|
||||
title: 'Convolutional Variational Autoencoder, trained on MNIST',
|
||||
path: 'mnist-vae',
|
||||
imagePath: 'demos/assets/mnist-vae.png'
|
||||
},
|
||||
{
|
||||
title: '50-layer Residual Network, trained on ImageNet',
|
||||
path: 'resnet50',
|
||||
imagePath: 'demos/assets/resnet50.png'
|
||||
},
|
||||
{
|
||||
title: 'Inception V3, trained on ImageNet',
|
||||
path: 'inception-v3',
|
||||
imagePath: 'demos/assets/inception-v3.png'
|
||||
},
|
||||
{
|
||||
title: 'Bidirectional LSTM for IMDB sentiment classification',
|
||||
path: 'imdb-bidirectional-lstm',
|
||||
imagePath: 'demos/assets/imdb-bidirectional-lstm.png'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
<div class="demo home">
|
||||
<div class="title"><span>Home</span></div>
|
||||
<div class="demo-card" v-for="info in demoInfo">
|
||||
<div class="demo-card-heading">{{ info.title }}</div>
|
||||
<div class="demo-card-image"><img :src="info.imagePath" /></div>
|
||||
</div>
|
||||
<a v-for="info in demoInfo" href="#/{{ info.path }}">
|
||||
<div class="demo-card">
|
||||
<div class="demo-card-heading">{{ info.title }}</div>
|
||||
<div class="demo-card-image"><img :src="info.imagePath" /></div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user