fsauor2018
fsauor2018 copied to clipboard
FileNotFoundError: [Errno 2] No such file or directory: 'model_s_300_w_5.bin'
ub16c9@ub16c9-gpu:/media/ub16c9/fcd84300-9270-4bbd-896a-5e04e79203b7/ub16_prj/fsauor2018-1$ python3.6 main.py --type train --label 2 --iter 6600 WARNING:tensorflow:From /media/ub16c9/fcd84300-9270-4bbd-896a-5e04e79203b7/ub16_prj/fsauor2018-1/load_model.py:41: BasicLSTMCell.init (from tensorflow.python.ops.rnn_cell_impl) is deprecated and will be removed in a future version. Instructions for updating: This class is deprecated, please use tf.nn.rnn_cell.LSTMCell, which supports all the feature this cell currently has. Please replace the existing code with tf.nn.rnn_cell.LSTMCell(name='basic_lstm_cell'). WARNING:tensorflow:From /media/ub16c9/fcd84300-9270-4bbd-896a-5e04e79203b7/ub16_prj/fsauor2018-1/load_model.py:131: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version. Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow into the labels input on backprop by default.
See tf.nn.softmax_cross_entropy_with_logits_v2
.
Traceback (most recent call last):
File "main.py", line 198, in
这个是word2vec训练得到的词向量(语言模型),你可以用word2vec.py文件对自己本地的数据集进行无监督训练得到该文件。