-
Notifications
You must be signed in to change notification settings - Fork 4
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
Reproducing experiment results of the paper #3
Comments
Hi! Thanks for your interest in our research. To train only the
best-performing model from the paper, go to the bottom of
scripts/run_silver3.sh and insert # to comment out the commands on lines
179-236. So, comment out everything highlighted here:
https://github.com/shlurbee/dmrs-text-generation-naacl2019/blob/master/scripts/run_silver3.sh#L179-L236
Then, uncomment just the following lines:
prep_data
preprocess_vs 6 850000
run_data_checks
Run the file (sh scripts/run_silver3.sh) and make sure the numbers in the
output look correct. (They will say something like "expected about X number
of lines, found X number of lines", and the numbers should be the same
order of magnitude). Unfortunately we didn't set up the scripts to stop
right away when there's a problem, hence running a few lines at a time.
If everything looked ok, comment out the above lines again and uncomment
this one:
train_vs data_vs6 2
You may want to change that final 2 to a 0 if your machine has fewer than 3
gpus for training. Then run the script again to start training. It took our
machine about 43 hours to train this model for 22 epochs.
…On Tue, Oct 8, 2019 at 6:27 AM aaronlolo326 ***@***.***> wrote:
Hello @shlurbee <https://github.com/shlurbee>! I tried reproducing the
results of the paper. However, after following the first few steps, the
following error occurred.
bash-4.2$ sh scripts/run\_experiments.sh
Usage: From root dir run:
sh scripts/run_experiments.sh
rm: cannot remove ‘models/v13*’: No such file or directory
rm: cannot remove ‘models/v12*’: No such file or directory
Traceback (most recent call last):
File "OpenNMT-py/train.py", line 503, in <module>
main()
...
FileNotFoundError: [Errno 2] No such file or directory: 'data/opennmt.train.pt'
As there are quite a number of run_*.sh files under script/, may you give
us some instructions or the exact steps to produce all the results of your
work? Thanks in advance!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=AACAYK7EYRPLY4S5MX2NNHTQNSDE3A5CNFSM4I6RXT4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HQLDIBQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AACAYK3MVUL75IRPA7M6FCLQNSDE3ANCNFSM4I6RXT4A>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @shlurbee! I tried reproducing the results of the paper. However, after following the first few steps, the following error occurred.
As there are quite a number of run_*.sh files under script/, may you give us some instructions or the exact steps to produce all the results of your work? Thanks in advance!
The text was updated successfully, but these errors were encountered: