knitr::opts_chunk$set(echo = TRUE)

Introduction

Prerequisites

if (!requireNamespace("devtools", quietly = TRUE))
    install.packages("devtools")
devtools::install_github("David-J-R/neuralstyleR", build_vignettes=TRUE)
library(neuralstyleR)
data("contentImg")
data("styleImg")

Usage

network<-prepareNetwork()
network$net
t_cont<-addContentToNetwork(network = network, contentImg = contentImg)
addStylesToNetwork(network = network, styleImgs = list(styleImg))
img <- runNeuralStyleR(network, t_cont)

sessionInfo()

Here is the output of sessionInfo() on the system on which this document was compiled running pandoc r rmarkdown::pandoc_version():

sessionInfo()

References



David-J-R/neuralstyleR documentation built on May 8, 2019, 1:54 p.m.