google-research / uda

Unsupervised Data Augmentation (UDA)
https://arxiv.org/abs/1904.12848
Apache License 2.0
2.17k stars 312 forks source link

tensorflow.python.framework.errors_impl.NotFoundError: back_trans_data/backward_gen/file_0_of_1.txt; No such file or directory #65

Open sai1307dataSCI opened 4 years ago

sai1307dataSCI commented 4 years ago

I am getting this error while running the backward translation it specifies there is no file in the backward_gen folder what should i do now

azamatolegen commented 4 years ago

Same error

Ritali commented 4 years ago

Create a new empty file "file_0_of_1.txt"

yusagi0603 commented 4 years ago

I think it's because the forward translation part didn't run correctly. I got the same issue and it said that I have to upgrade to tf 1.15. But when I upgraded to tf 1.15, it gave another error that the module has no attribute 'gan'.

soeque1 commented 4 years ago

It seems to be related to the version of tensor2tensor, tensorflow and so on. I succeeded with the below options.

pip install tensorflow-gpu==1.15.2
pip install tensor2tensor==1.15.2
pip install tensorflow-probability==0.7.0

or

pip install tensorflow-gpu==1.13.2
pip install tensor2tensor==1.13.4
pip install tensorflow-probability==0.6.0
pip install mesh-tensorflow==0.0.5