I try to set it with tf.flags.FLAGS.DEFINE_float("worker_gpu_memory_fraction", 0.5, "") according to the source code https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/bin/t2t_trainer.py#L246 , but the program just throw absl.flags._exceptions.DuplicateFlagError with info The flag 'worker_gpu_memory_fraction' is defined twice. First from tensor2tensor.utils.flags, Second from usr_dir.text_cnn., looks I have to change the source code of the installed local package?
I try to set it with
tf.flags.FLAGS.DEFINE_float("worker_gpu_memory_fraction", 0.5, "")
according to the source code https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/bin/t2t_trainer.py#L246 , but the program just throwabsl.flags._exceptions.DuplicateFlagError
with infoThe flag 'worker_gpu_memory_fraction' is defined twice. First from tensor2tensor.utils.flags, Second from usr_dir.text_cnn.
, looks I have to change the source code of the installed local package?