Skip to content

Commit 0cce6a1

Browse files
authored
Update hammering_syntaxnet_to_behave.md
1 parent b77fdd8 commit 0cce6a1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

hammering_syntaxnet_to_behave.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ This was a bug in bazel. It was fixed in later versions.
6464
### Fix:
6565
Install 0.5.4 version of bazel. (This version has the fix for that)
6666

67-
### 1.4 ~20 tests in bazel build failed
67+
### 1.4 Failing tests in bazel build
6868
<hr/>
6969

7070
### 1.4.1 Issue:
@@ -88,9 +88,7 @@ Upon fixing with pip install autograd succesfully installs the package and thr
8888
We need to install a compatible version of autograd (1.1.13)
8989
`pip install autograd==1.1.13`. Also, again, make sure you have Bazel 0.5.4
9090

91-
### 1.5. Bazel build failed with a bunch of tests on graph visualization’s and some more due to protobuf version incompatibility
92-
93-
#### Issue:
91+
### 1.4.3. Issue:
9492
```diff
9593
- /private/var/tmp/_bazel_surthi/81559a7957a70ca9917043de0cb80034/execroot/__main__/bazel-out/local-opt/testlogs/dragnn/python/graph_builder_test/test.log
9694
- //dragnn/python:render_parse_tree_graphviz_test FAILED in 7.2s
@@ -102,7 +100,7 @@ We need to install a compatible version of autograd (1.1.13)
102100
- //examples/dragnn:test_run_all_tutorials FAILED in 7.9s
103101
```
104102
#### Cause:
105-
Two things. One, I had 3.0.0 protobuf installed and second missed installing pygraphviz.
103+
Bazel build failed due to two things. One, protobuf version incompatibility and two, missed installing pygraphviz.
106104
#### Fix:
107105
```markdown
108106
pip install -U protobuf==3.2.0
@@ -111,6 +109,7 @@ pip install pygraphviz
111109
#### With those, the bazel test passed with no failing tests. But still there were some more hurdles in getting the wrapper as mentioned in the next section.
112110

113111
## 2. Errors Post Successful Installation of Syntaxnet
112+
Now, open python shell and try importing syntaxnet. Couple of classes that I need were not available. This could be because of the restructuring done as part of [The Great Models Move change](https://github.com/tensorflow/models/pull/2430). Let's look at some of the failing imports I needed and how i got them fixed.
114113

115114
### 2.1 "from syntaxnet.ops import gen_parser_ops" import FAILED
116115
#### Issue:

0 commit comments

Comments
 (0)