Skip to content

Commit

Permalink
Bug fixes for new tfp versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Baker committed Apr 23, 2019
1 parent 4588f36 commit 0cd94fb
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: sgmcmc
Type: Package
Title: Stochastic Gradient Markov Chain Monte Carlo
Version: 0.2.3
Version: 0.2.4
Authors@R: c(
person("Jack", "Baker", email = "[email protected]", role = c("aut", "cre", "cph")),
person( "Christopher", "Nemeth", role = c("aut", "cph") ),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# sgmcmc 0.2.4

* Bug fixes

# sgmcmc 0.2.3

* Added support for TensorFlow Probability.
Expand Down
2 changes: 2 additions & 0 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,7 @@ tfMissing <- function() {
tfpMissing <- function(e) {
message("\nNo TensorFlow Probability python installation found.")
message("This can be installed using the installTF() function.\n")
message(paste("If TensorFlow Probability has been installed manually,",
"ensure \nyour TensorFlow Probability and TensorFlow versions are compatible.\n"))
assign("TFP", FALSE, envir = tf_status)
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The package is built on top of the [TensorFlow library for R](https://tensorflow
- Install the `sgmcmc` R package: `install.packages("sgmcmc")`.
- Install the required python packages (including TensorFlow and TensorFlow Probability) by running: `sgmcmc::installTF()`.

If you already have the TensorFlow and TensorFlow probability packages installed, then this should be autodetected by the package and you can skip the final step. Make sure these are up to date though, as the TensorFlow API is under active development and still changes quite regularly.
If you already have the TensorFlow and TensorFlow probability packages installed, then this should be autodetected by the package and you can skip the final step. Make sure these are up to date though, as the TensorFlow API is under active development and still changes quite regularly. Especially ensure that your TensorFlow and TensorFlow probability modules are compatible.

## Documentation

Expand Down
3 changes: 1 addition & 2 deletions docs/index.html

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

8 changes: 8 additions & 0 deletions docs/news/index.html

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

0 comments on commit 0cd94fb

Please sign in to comment.