ub16hp@UB16HP:~/ub16_prj/nary-grn/bidir_dag_lstm$ CUDA_VISIBLE_DEVICES=0 python G2S_trainer.py --config_path config.json
CUDA_VISIBLE_DEVICES 0
Loading the configuration from config.json
Configurations:
<namespace_utils.Bunch object at 0x7f8246eb6790>
Log file path: logs/G2S.cross_mul_0.log
Loading train set.
../peng_data/drug_gene_var/1/data_graph_1
../peng_data/drug_gene_var/1/data_graph_2
../peng_data/drug_gene_var/2/data_graph_1
../peng_data/drug_gene_var/2/data_graph_2
../peng_data/drug_gene_var/3/data_graph_1
../peng_data/drug_gene_var/3/data_graph_2
../peng_data/drug_gene_var/4/data_graph_1
../peng_data/drug_gene_var/4/data_graph_2
../peng_data/drug_gene_var/1/data_graph_1
../peng_data/drug_gene_var/1/data_graph_2
../peng_data/drug_gene_var/2/data_graph_1
../peng_data/drug_gene_var/2/data_graph_2
../peng_data/drug_gene_var/3/data_graph_1
../peng_data/drug_gene_var/3/data_graph_2
../peng_data/drug_gene_var/4/data_graph_1
../peng_data/drug_gene_var/4/data_graph_2
Number of training samples: 5313/5313
Number of dev samples: 200/200
Collecting vocabs.
Number of words: 15107
Number of allChars: 137
Number of allEdgelabels: 113
Traceback (most recent call last):
File "G2S_trainer.py", line 308, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "G2S_trainer.py", line 144, in main
word_vocab = Vocab(FLAGS.word_vec_path, fileformat='txt2')
File "/home/ub16hp/ub16_prj/nary-grn/bidir_dag_lstm/vocab_utils.py", line 16, in init
self.fromText_format2(vec_path,voc=voc,pre_word_vecs=word_vecs)
File "/home/ub16hp/ub16_prj/nary-grn/bidir_dag_lstm/vocab_utils.py", line 104, in fromText_format2
vec_file = open(vec_path, 'rt')
IOError: [Errno 2] No such file or directory: u'data/vocab_morph.wordvec.st'
ub16hp@UB16HP:~/ub16_prj/nary-grn/bidir_dag_lstm$
ub16hp@UB16HP:~/ub16_prj/nary-grn/bidir_dag_lstm$ CUDA_VISIBLE_DEVICES=0 python G2S_trainer.py --config_path config.json CUDA_VISIBLE_DEVICES 0 Loading the configuration from config.json Configurations: <namespace_utils.Bunch object at 0x7f8246eb6790> Log file path: logs/G2S.cross_mul_0.log Loading train set. ../peng_data/drug_gene_var/1/data_graph_1 ../peng_data/drug_gene_var/1/data_graph_2 ../peng_data/drug_gene_var/2/data_graph_1 ../peng_data/drug_gene_var/2/data_graph_2 ../peng_data/drug_gene_var/3/data_graph_1 ../peng_data/drug_gene_var/3/data_graph_2 ../peng_data/drug_gene_var/4/data_graph_1 ../peng_data/drug_gene_var/4/data_graph_2 ../peng_data/drug_gene_var/1/data_graph_1 ../peng_data/drug_gene_var/1/data_graph_2 ../peng_data/drug_gene_var/2/data_graph_1 ../peng_data/drug_gene_var/2/data_graph_2 ../peng_data/drug_gene_var/3/data_graph_1 ../peng_data/drug_gene_var/3/data_graph_2 ../peng_data/drug_gene_var/4/data_graph_1 ../peng_data/drug_gene_var/4/data_graph_2 Number of training samples: 5313/5313 Number of dev samples: 200/200 Collecting vocabs. Number of words: 15107 Number of allChars: 137 Number of allEdgelabels: 113 Traceback (most recent call last): File "G2S_trainer.py", line 308, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "G2S_trainer.py", line 144, in main
word_vocab = Vocab(FLAGS.word_vec_path, fileformat='txt2')
File "/home/ub16hp/ub16_prj/nary-grn/bidir_dag_lstm/vocab_utils.py", line 16, in init
self.fromText_format2(vec_path,voc=voc,pre_word_vecs=word_vecs)
File "/home/ub16hp/ub16_prj/nary-grn/bidir_dag_lstm/vocab_utils.py", line 104, in fromText_format2
vec_file = open(vec_path, 'rt')
IOError: [Errno 2] No such file or directory: u'data/vocab_morph.wordvec.st'
ub16hp@UB16HP:~/ub16_prj/nary-grn/bidir_dag_lstm$