python-mcparseface
python-mcparseface copied to clipboard
ImportError: cannot import name tf_logging
I can successfuly run " bazel test --local_resources 2048,.5,1.0 --genrule_strategy=standalone syntaxnet/... util/utf8/..." with 17 tests pass. Also I succeed to run "echo 'Bob brought the pizza to Alice.' | syntaxnet/demo.sh". But when I run the command "python pyparseface.py "in terminal, it print as "I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:99] Couldn't open CUDA library libcudnn.so. LD_LIBRARY_PATH:
I tensorflow/stream_executor/cuda/cuda_dnn.cc:1562] Unable to load cuDNN DSO
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:105] successfully opened CUDA library libcurand.so locally
Traceback (most recent call last):
File "pyparseface.py", line 19, in
Hey @qinghua2016 thanks for filing a bug!
I made a change earlier today that might fix this issue. Can you pull the latest code and try again?
I have successfully run your code. As the provider says, the models of syntaxnet can only work with the tensorfow in the models. The reason why I failed to run it is that I installed tensorflow before. After I remove tensorfolw, I can run it. But I need to use tensorflow for other things, I am wondering if you have any idea to use pip installed tensorflow for syntaxnet?