knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Using the deepviz package you can plot the architecture of keras models.

library(keras)
library(deepviz)

Simple examples

knitr::read_chunk("../inst/examples/example_plot_deepviz.R")
knitr::read_chunk(
  here::here("inst/examples/example_sequential_and_network.R")
)

Sequential model

Simple sequential model


Network model


Famous architectures

Examples of some famous architectures.

knitr::read_chunk(
  here::here("inst/examples/example_network_architectures.R")
)

Depthwise separable convolution


Resnet


Classical inception v3




andrie/deepviz documentation built on May 9, 2019, 3:58 a.m.