Skip to content

Commit

Permalink
force version 2.2.2 of keras until model serailization bugs are fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Oct 3, 2018
1 parent d3e44bb commit c16f970
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ cache:

before_script:
- pip2.7 install --upgrade --ignore-installed --user travis pip setuptools wheel virtualenv
- pip2.7 install --upgrade --ignore-installed --user travis keras h5py pyyaml requests Pillow scipy theano
- R -e 'tensorflow::install_tensorflow()'
- pip2.7 install --upgrade --ignore-installed --user travis keras==2.2.2 h5py pyyaml requests Pillow scipy theano tensorflow


2 changes: 1 addition & 1 deletion R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ install_keras <- function(method = c("auto", "virtualenv", "conda"),

# resolve version
if (identical(version, "default"))
version <- ""
version <- "==2.2.2"
else
version <- paste0("==", version)

Expand Down
4 changes: 2 additions & 2 deletions index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ This website provides documentation for the R interface to Keras. See the main K

### Installation

First, install the keras R package from CRAN as follows:
First, install the keras R package from GitHub as follows:

```{r, eval=FALSE}
install.packages("keras")
devtools::install_github("rstudio/keras")
```

The Keras R interface uses the [TensorFlow](https://www.tensorflow.org/) backend engine by default. To install both the core Keras library as well as the TensorFlow backend use the `install_keras()` function:
Expand Down
4 changes: 2 additions & 2 deletions vignettes/getting_started.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ This website provides documentation for the R interface to Keras. See the main K

## Installation

First, install the keras R package from CRAN as follows:
First, install the keras R package from GitHub as follows:

```{r, eval=FALSE}
install.packages("keras")
devtools::install_github("rstudio/keras")
```

The Keras R interface uses the [TensorFlow](https://www.tensorflow.org/) backend engine by default. To install both the core Keras library as well as the TensorFlow backend use the `install_keras()` function:
Expand Down
4 changes: 2 additions & 2 deletions website/articles/getting_started.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions website/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c16f970

Please sign in to comment.