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

Do I need to split 'test.json' into train, dev and test sets? how many for each type? Thank you #23

Open
nguyenchiminh99 opened this issue Nov 30, 2020 · 1 comment

Comments

@nguyenchiminh99
Copy link

Do I need to split 'test.json' into train, dev and test sets? how many for each type? Thank you

@nguyenchiminh99
Copy link
Author

Do I need to split 'test.json' into train, dev and test sets? how many for each type? Thank you
Because I have seen an error when i run
Traceback (most recent call last):
File "src_g2s/G2S_trainer.py", line 385, in
tf.compat.v1.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\platform\app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "D:\Anaconda3\lib\site-packages\absl\app.py", line 303, in run
_run_main(main, args)
File "D:\Anaconda3\lib\site-packages\absl\app.py", line 251, in _run_main
sys.exit(main(argv))
File "src_g2s/G2S_trainer.py", line 107, in main
devset, tst_node, tst_in_neigh, tst_out_neigh, tst_sent = G2S_data_stream.read_amr_file(FLAGS.test_path)
File "D:\XLDLL_DoanCuoiKy\neural-graph-to-seq-mp-master\src_g2s\G2S_data_stream.py", line 28, in read_amr_file
with open(inpath, "rU") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'data/dev.json'

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

1 participant