tensor2tensor
tensor2tensor copied to clipboard
Tensorflow Requirements
Hello, I love what Tensor2Tensor is doing. I have a general question: what is the recommanded Tensorflow version? The turorials are unsing TF1: https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/notebooks/Transformer_translate.ipynb
Further more, If i use the Terminal, datagen gen requires Datasets from TF2.
t2t-datagen \
--data_dir=$DATA_DIR \
--tmp_dir=$TMP_DIR \
--problem=$PROBLEM \
--t2t_usr_dir=$USR_DIR
but after training, then if i try to predict using...
t2t-trainer \
--data_dir=$DATA_DIR \
--problem=$PROBLEM \
--model=$MODEL \
--hparams_set=$HPARAMS \
--output_dir=$TRAIN_DIR
... I get an TF1 related error:
module 'tensorflow' has no attribute 'logging'
Am I missing something obvios? Thank you in advance!
^BUMP ON THIS