Skip to content

tf.logging does not exist in tf 2, yet is used from r2 to master #10383

@Zero0one1

Description

@Zero0one1

All versions from r2 to master, which states using TF 2, still uses tf.logging in compute_bleu.py. Here is an example of master.

if __name__ == "__main__":
tf.logging.set_verbosity(tf.logging.INFO)
define_compute_bleu_flags()
FLAGS = flags.FLAGS
app.run(main)

Metadata

Metadata

Labels

models:officialmodels that come under official repositorytype:bugBug in the code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions