vanderschaarlab/clairvoyance

gain_imputation.py code tries to import deprecated tensorflow class

ariercole opened this issue · 1 comments

The gain_imputation.py code tries to import deprecated tensorflow.saved_model.tag_constants.

Fortunately the tags don't seem to be required as far as I can see so

tf.saved_model.loader.load(sess, [tag_constants.SERVING], self.save_file_directory)

can be replaced by

tf.saved_model.loader.load(sess, self.save_file_directory)

Dependency-related issue - will be addressed in the overhaul of dependencies.