keiohta/tf2rl

TFP version incompatibility

ymd-h opened this issue · 0 comments

ymd-h commented

TF2RL specified TFP version with 0.80.

"tensorflow-probability==0.8.0"

This doesn't work with TF 2.2 or later.

As far as I know, compatible versions are following;

  • TF 2.3.x -> TFP 0.11.y
  • TF 2.2.x -> TFP 0.10.y
  • TF 2.1.x -> TFP 0.8.y (?)
  • TF 2.0.x -> TFP ???
    (Please let me know if you know.)

We need some logic to detect TF version at setup.py

Additionally speaking, specifying full version is not good idea because it prevents from updating bug fix release.

You should use one of "tensorflow-probability~=0.8.0" or "tensorflow-probability==0.8.*".