plowman / python-mcparseface Goto Github PK
View Code? Open in Web Editor NEWPython McParseface: A way to call Parsey McParseface programmatically in Python
License: Apache License 2.0
Python McParseface: A way to call Parsey McParseface programmatically in Python
License: Apache License 2.0
If I setup a database connect for this mode what would be the columns name and linking ?
import pyparseface
Traceback (most recent call last):
File "", line 1, in
File "/hbase/Insync/git/models/syntaxnet/pyparseface.py", line 254
print tr(input_dict)
^
SyntaxError: invalid syntax
I can successfully run the file of pyparseface with removing tensorflow I installed before. It seems that the model can only work with it's inner tensorflow, but I need to use tensorflow in other modules. So, do you have any idea on how to use installed tensorflow to run the syntaxnet? Waiting for your anwsering!
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
from tensorflow.python.platform import tf_logging as logging
ImportError: cannot import name tf_logging
"
it is actually that the python code also failed to do operations as follows:
"from syntaxnet import sentence_pb2, structured_graph_builder
from syntaxnet.ops import gen_parser_ops"
Do you know why?
Hi, I have the following error when running the script:
File "pyparseface.py", line 20, in
from syntaxnet import sentence_pb2, structured_graph_builder
ImportError: cannot import name structured_graph_builder
I understand that structured_graph_builder is part of syntaxnet? Do i need to run my script within a certain folder? Many thanks in advance
line 20 of the code: cannot import syntaxnet. any suggestions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.