Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this? #1

Closed
romanovzky opened this issue Feb 1, 2019 · 1 comment
Closed

How to use this? #1

romanovzky opened this issue Feb 1, 2019 · 1 comment

Comments

@romanovzky
Copy link

Hi there,

First of all, great paper. I had thought of similar solutions for DA on text, but I'm glad someone put all of them together!

However, I can't seem to run. First of all, the readme mentions python code/1_data_process.py but there is no such file.

By adding a_, b_, etc suffixes, I get the following errors

Using TensorFlow backend.
Traceback (most recent call last):
  File "code/a_1_data_process.py", line 28, in <module>
    gen_sr_aug(train_orig, output_file, alpha, n_aug)
  File "/myworkingdirectory/eda_nlp/code/methods.py", line 173, in gen_sr_aug
    writer = open(output_file, 'w')
FileNotFoundError: [Errno 2] No such file or directory: 'size_data_f1/1_tiny/cr/train_sr_0.05.txt'

and similar to every possible suffix.

Thanks!

@jasonwei20
Copy link
Owner

Hi, thanks for the note! Please look at the updated readme, the original code on there was very old. Please feel free to reach out if you have any other issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants