diff --git a/demos/data/mnist_vae/mnist_vae.json b/demos/data/mnist_vae/mnist_vae.json new file mode 100644 index 0000000..961b313 --- /dev/null +++ b/demos/data/mnist_vae/mnist_vae.json @@ -0,0 +1 @@ +{"keras_version": "1.1.0", "class_name": "Model", "config": {"output_layers": [["convolution2d_8", 0, 0]], "name": "model_5", "layers": [{"inbound_nodes": [], "class_name": "InputLayer", "name": "input_4", "config": {"batch_input_shape": [null, 2], "input_dtype": "float32", "name": "input_4", "sparse": false}}, {"inbound_nodes": [[["input_4", 0, 0]]], "class_name": "Dense", "name": "dense_10", "config": {"output_dim": 128, "W_regularizer": null, "bias": true, "input_dim": null, "b_regularizer": null, "init": "glorot_uniform", "name": "dense_10", "activity_regularizer": null, "W_constraint": null, "activation": "relu", "b_constraint": null, "trainable": true}}, {"inbound_nodes": [[["dense_10", 0, 0]]], "class_name": "Dense", "name": "dense_11", "config": {"output_dim": 12544, "W_regularizer": null, "bias": true, "input_dim": null, "b_regularizer": null, "init": "glorot_uniform", "name": "dense_11", "activity_regularizer": null, "W_constraint": null, "activation": "relu", "b_constraint": null, "trainable": true}}, {"inbound_nodes": [[["dense_11", 0, 0]]], "class_name": "Reshape", "name": "reshape_4", "config": {"target_shape": [14, 14, 64], "name": "reshape_4", "trainable": true}}, {"inbound_nodes": [[["reshape_4", 0, 0]]], "class_name": "Deconvolution2D", "name": "deconvolution2d_10", "config": {"W_regularizer": null, "bias": true, "border_mode": "same", "output_shape": [null, 14, 14, 64], "init": "glorot_uniform", "name": "deconvolution2d_10", "nb_col": 3, "activity_regularizer": null, "W_constraint": null, "nb_filter": 64, "nb_row": 3, "activation": "relu", "b_regularizer": null, "dim_ordering": "tf", "subsample": [1, 1], "trainable": true, "b_constraint": null}}, {"inbound_nodes": [[["deconvolution2d_10", 0, 0]]], "class_name": "Deconvolution2D", "name": "deconvolution2d_11", "config": {"W_regularizer": null, "bias": true, "border_mode": "same", "output_shape": [null, 14, 14, 64], "init": "glorot_uniform", "name": "deconvolution2d_11", "nb_col": 3, "activity_regularizer": null, "W_constraint": null, "nb_filter": 64, "nb_row": 3, "activation": "relu", "b_regularizer": null, "dim_ordering": "tf", "subsample": [1, 1], "trainable": true, "b_constraint": null}}, {"inbound_nodes": [[["deconvolution2d_11", 0, 0]]], "class_name": "Deconvolution2D", "name": "deconvolution2d_12", "config": {"W_regularizer": null, "bias": true, "border_mode": "valid", "output_shape": [null, 28, 28, 64], "init": "glorot_uniform", "name": "deconvolution2d_12", "nb_col": 2, "activity_regularizer": null, "W_constraint": null, "nb_filter": 64, "nb_row": 2, "activation": "relu", "b_regularizer": null, "dim_ordering": "tf", "subsample": [2, 2], "trainable": true, "b_constraint": null}}, {"inbound_nodes": [[["deconvolution2d_12", 0, 0]]], "class_name": "Convolution2D", "name": "convolution2d_8", "config": {"W_regularizer": null, "bias": true, "b_regularizer": null, "init": "glorot_uniform", "trainable": true, "name": "convolution2d_8", "nb_col": 2, "activity_regularizer": null, "W_constraint": null, "nb_filter": 1, "nb_row": 2, "activation": "sigmoid", "dim_ordering": "tf", "subsample": [1, 1], "border_mode": "valid", "b_constraint": null}}], "input_layers": [["input_4", 0, 0]]}} \ No newline at end of file diff --git a/demos/data/mnist_vae/mnist_vae_metadata.json b/demos/data/mnist_vae/mnist_vae_metadata.json new file mode 100644 index 0000000..393e80f --- /dev/null +++ b/demos/data/mnist_vae/mnist_vae_metadata.json @@ -0,0 +1 @@ +[{"layer_name": "dense_10", "shape": [2, 128], "type": "float32", "weight_name": "dense_10_W:0", "length": 256, "offset": 0}, {"layer_name": "dense_10", "shape": [128], "type": "float32", "weight_name": "dense_10_b:0", "length": 128, "offset": 1024}, {"layer_name": "dense_11", "shape": [128, 12544], "type": "float32", "weight_name": "dense_11_W:0", "length": 1605632, "offset": 1536}, {"layer_name": "dense_11", "shape": [12544], "type": "float32", "weight_name": "dense_11_b:0", "length": 12544, "offset": 6424064}, {"layer_name": "deconvolution2d_10", "shape": [3, 3, 64, 64], "type": "float32", "weight_name": "deconvolution2d_10_W:0", "length": 36864, "offset": 6474240}, {"layer_name": "deconvolution2d_10", "shape": [64], "type": "float32", "weight_name": "deconvolution2d_10_b:0", "length": 64, "offset": 6621696}, {"layer_name": "deconvolution2d_11", "shape": [3, 3, 64, 64], "type": "float32", "weight_name": "deconvolution2d_11_W:0", "length": 36864, "offset": 6621952}, {"layer_name": "deconvolution2d_11", "shape": [64], "type": "float32", "weight_name": "deconvolution2d_11_b:0", "length": 64, "offset": 6769408}, {"layer_name": "deconvolution2d_12", "shape": [2, 2, 64, 64], "type": "float32", "weight_name": "deconvolution2d_12_W:0", "length": 16384, "offset": 6769664}, {"layer_name": "deconvolution2d_12", "shape": [64], "type": "float32", "weight_name": "deconvolution2d_12_b:0", "length": 64, "offset": 6835200}, {"layer_name": "convolution2d_8", "shape": [2, 2, 64, 1], "type": "float32", "weight_name": "convolution2d_8_W:0", "length": 256, "offset": 6835456}, {"layer_name": "convolution2d_8", "shape": [1], "type": "float32", "weight_name": "convolution2d_8_b:0", "length": 1, "offset": 6836480}] \ No newline at end of file diff --git a/demos/data/mnist_vae/mnist_vae_weights.buf b/demos/data/mnist_vae/mnist_vae_weights.buf new file mode 100644 index 0000000..52798cb --- /dev/null +++ b/demos/data/mnist_vae/mnist_vae_weights.buf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de1229cdf0912590ac0216f673965bc4c7128890bfa6c38aacb43ec6e794fe50 +size 6836484