DeepCoNN
DeepCoNN copied to clipboard
train.py 运行后卡在 header: b'299567 300\n'是怎么回事呢?
是内存不够吗。
可否提供更多报错信息呢?另外是在什么机器上运行的呢?
Loading data... Load word2vec u file /home/wsy/keras/data-sharing/GoogleNews-vectors-negative300.bin header: b'3000000 300\n' ---------------------------运行到这里就停止不动了------------------------- 机器:CentOS Tesla K40m
Loading data...
2018-05-30 14:41:01.384097: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2018-05-30 14:41:01.384169: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2018-05-30 14:41:01.384184: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2018-05-30 14:41:01.384195: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2018-05-30 14:41:01.384207: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
Tensor("fm/Sum:0", shape=(?, 1), dtype=float32)
Tensor("fm/add_1:0", shape=(?, 1), dtype=float32)
WARNING:tensorflow:From /home/user1/anaconda2/envs/python36/lib/python3.6/site-packages/tensorflow/python/util/tf_should_use.py:175: initialize_all_variables (from tensorflow.python.ops.variables) is deprecated and will be removed after 2017-03-02.
Instructions for updating:
Use tf.global_variables_initializer
instead.
Load word2vec u file /home/wsy/keras/data-sharing/GoogleNews-vectors-negative300-SLIM.bin
header: b'299567 300\n'
-------------------这是完整的信息------------
我换了小一点的预训练数据集SLIM,还是会卡住。
@s1162276945 Hi,when you run code. have you meet the follow problems
Load word2vec u file ../data/google.bin File "/home/zxj/PycharmProjects/DeepCoNN/model/train.py", line 157, in with open(FLAGS.word2vec, "rb") as f: IOError: [Errno 2] No such file or directory: '../data/google.bin'