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

训练时出现Segmentation fault #3

Closed
xyangk opened this issue Aug 10, 2017 · 2 comments
Closed

训练时出现Segmentation fault #3

xyangk opened this issue Aug 10, 2017 · 2 comments

Comments

@xyangk
Copy link

xyangk commented Aug 10, 2017

$ python train.py 
/opt/python/lib/python2.7/site-packages/tensorflow/python/ops/gradients_impl.py:91: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
  "Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
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.
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.
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.
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.
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.
Epoch 1 / 200:
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 109/109 [05:18<00:00,  2.48s/it]
train loss: 9.972754, dev loss: 7.669499
Segmentation fault

不清楚是哪里出错了,需要我提供其他什么配置吗?

@liu-nlper
Copy link
Owner

你使用CPU训练的吗?我只在GPU下做了测试的

@xyangk
Copy link
Author

xyangk commented Aug 10, 2017

是的,那我改改看,不行就先在GPU上跑了

@xyangk xyangk closed this as completed Aug 10, 2017
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

2 participants