<p dir="auto">Deep Learning VM  images/tf-2-0-cpu-experimental-20190502</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="googcheng@tensorflow-4-vm:~$ git clone https://github.com/tensorflow/tensorflow.git
Cloning into 'tensorflow'...
remote: Enumerating objects: 2167, done.
remote: Counting objects: 100% (2167/2167), done.
remote: Compressing objects: 100% (845/845), done.
remote: Total 598119 (delta 1392), reused 1643 (delta 1320), pack-reused 595952
Receiving objects: 100% (598119/598119), 343.85 MiB | 47.04 MiB/s, done.
Resolving deltas: 100% (483846/483846), done.
googcheng@tensorflow-4-vm:~$ ls
tensorflow
googcheng@tensorflow-4-vm:~$ cd tensorflow/
googcheng@tensorflow-4-vm:~/tensorflow$ ls
ACKNOWLEDGMENTS     AUTHORS             CODEOWNERS    CONTRIBUTING.md    LICENSE       RELEASE.md   third_party
ADOPTERS.md         BUILD               configure     ISSUES.md          models.BUILD  SECURITY.md  tools
arm_compiler.BUILD  CODE_OF_CONDUCT.md  configure.py  ISSUE_TEMPLATE.md  README.md     tensorflow   WORKSPACE
googcheng@tensorflow-4-vm:~/tensorflow$ bazel run -c opt --copt=-mavx2 --copt=-mfma \
&gt; tensorflow/examples/speech_commands:train -- \
&gt; --model_architecture=tiny_conv --window_stride=20 --preprocess=average \
&gt; --wanted_words=&quot;yes,no&quot; --silence_percentage=25 --unknown_percentage=25 --quantize=1
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=112
INFO: Reading rc options for 'run' from /home/googcheng/tensorflow/.bazelrc:
  Inherited 'build' options: --apple_platform_type=macos --define framework_shared_object=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone --strategy=Genrule=standalone -c opt --announce_rc --define=grpc_no_ares=true --define=PREFIX=/usr --define=LIBDIR=$(PREFIX)/lib --define=INCLUDEDIR=$(PREFIX)/include
ERROR: /home/googcheng/.cache/bazel/_bazel_googcheng/c7d71bbdf8501e4441f5b58bb2db4ae1/external/io_bazel_rules_closure/closure/protobuf/closure_proto_library.bzl:66:21: name 'ProtoInfo' is not defined (did you mean 'protos'?)
ERROR: error loading package '': Extension 'closure/protobuf/closure_proto_library.bzl' has errors
ERROR: error loading package '': Extension 'closure/protobuf/closure_proto_library.bzl' has errors
INFO: Elapsed time: 5.973s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
googcheng@tensorflow-4-vm:~/tensorflow$ git log
commit 94feeb1c0ade3c673a758c0794e19c82b6e868b6
Author: Tiezhen WANG &lt;wangtz@google.com&gt;
Date:   Fri May 31 03:18:30 2019 -0700

    nit remove unnecessary indirection in all_ops_resolver.
    
    PiperOrigin-RevId: 250856298

commit b1a535b3abc11de5e00f5b40b2a7f795b7160376
Author: A. Unique TensorFlower &lt;gardener@tensorflow.org&gt;
Date:   Fri May 31 02:49:19 2019 -0700

    Test that tf.saved_model.load() does not add to the TRAINABLE_VARIABLES
    collection and add a comment why. There is no change in behavior."><pre class="notranslate">googcheng@tensorflow-4-vm:<span class="pl-k">~</span>$ git clone https://github.com/tensorflow/tensorflow.git
Cloning into <span class="pl-s"><span class="pl-pds">'</span>tensorflow<span class="pl-pds">'</span></span>...
remote: Enumerating objects: 2167, done.
remote: Counting objects: 100% (2167/2167), done.
remote: Compressing objects: 100% (845/845), done.
remote: Total 598119 (delta 1392), reused 1643 (delta 1320), pack-reused 595952
Receiving objects: 100% (598119/598119), 343.85 MiB <span class="pl-k">|</span> 47.04 MiB/s, done.
Resolving deltas: 100% (483846/483846), done.
googcheng@tensorflow-4-vm:<span class="pl-k">~</span>$ ls
tensorflow
googcheng@tensorflow-4-vm:<span class="pl-k">~</span>$ <span class="pl-c1">cd</span> tensorflow/
googcheng@tensorflow-4-vm:<span class="pl-k">~</span>/tensorflow$ ls
ACKNOWLEDGMENTS     AUTHORS             CODEOWNERS    CONTRIBUTING.md    LICENSE       RELEASE.md   third_party
ADOPTERS.md         BUILD               configure     ISSUES.md          models.BUILD  SECURITY.md  tools
arm_compiler.BUILD  CODE_OF_CONDUCT.md  configure.py  ISSUE_TEMPLATE.md  README.md     tensorflow   WORKSPACE
googcheng@tensorflow-4-vm:<span class="pl-k">~</span>/tensorflow$ bazel run -c opt --copt=-mavx2 --copt=-mfma \
<span class="pl-k">&gt;</span> tensorflow/examples/speech_commands:train -- \
<span class="pl-k">&gt;</span> --model_architecture=tiny_conv --window_stride=20 --preprocess=average \
<span class="pl-k">&gt;</span> --wanted_words=<span class="pl-s"><span class="pl-pds">"</span>yes,no<span class="pl-pds">"</span></span> --silence_percentage=25 --unknown_percentage=25 --quantize=1
Extracting Bazel installation...
Starting <span class="pl-k">local</span> Bazel server and connecting to it...
INFO: Options provided by the client:
  Inherited <span class="pl-s"><span class="pl-pds">'</span>common<span class="pl-pds">'</span></span> options: --isatty=1 --terminal_columns=112
INFO: Reading rc options <span class="pl-k">for</span> <span class="pl-s"><span class="pl-pds">'</span>run<span class="pl-pds">'</span></span> from /home/googcheng/tensorflow/.bazelrc:
  Inherited <span class="pl-s"><span class="pl-pds">'</span>build<span class="pl-pds">'</span></span> options: --apple_platform_type=macos --define framework_shared_object=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone --strategy=Genrule=standalone -c opt --announce_rc --define=grpc_no_ares=true --define=PREFIX=/usr --define=LIBDIR=<span class="pl-s"><span class="pl-pds">$(</span>PREFIX<span class="pl-pds">)</span></span>/lib --define=INCLUDEDIR=<span class="pl-s"><span class="pl-pds">$(</span>PREFIX<span class="pl-pds">)</span></span>/include
ERROR: /home/googcheng/.cache/bazel/_bazel_googcheng/c7d71bbdf8501e4441f5b58bb2db4ae1/external/io_bazel_rules_closure/closure/protobuf/closure_proto_library.bzl:66:21: name <span class="pl-s"><span class="pl-pds">'</span>ProtoInfo<span class="pl-pds">'</span></span> is not defined (did you mean <span class="pl-s"><span class="pl-pds">'</span>protos<span class="pl-pds">'</span></span><span class="pl-k">?</span>)
ERROR: error loading package <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>: Extension <span class="pl-s"><span class="pl-pds">'</span>closure/protobuf/closure_proto_library.bzl<span class="pl-pds">'</span></span> has errors
ERROR: error loading package <span class="pl-s"><span class="pl-pds">'</span><span class="pl-pds">'</span></span>: Extension <span class="pl-s"><span class="pl-pds">'</span>closure/protobuf/closure_proto_library.bzl<span class="pl-pds">'</span></span> has errors
INFO: Elapsed time: 5.973s
INFO: 0 processes.
FAILED: Build did NOT <span class="pl-c1">complete</span> successfully (0 packages loaded)
FAILED: Build did NOT <span class="pl-c1">complete</span> successfully (0 packages loaded)
googcheng@tensorflow-4-vm:<span class="pl-k">~</span>/tensorflow$ git log
commit 94feeb1c0ade3c673a758c0794e19c82b6e868b6
Author: Tiezhen WANG <span class="pl-k">&lt;</span>wangtz@google.com<span class="pl-k">&gt;</span>
Date:   Fri May 31 03:18:30 2019 -0700

    nit remove unnecessary indirection <span class="pl-k">in</span> all_ops_resolver.
    
    PiperOrigin-RevId: 250856298

commit b1a535b3abc11de5e00f5b40b2a7f795b7160376
Author: A. Unique TensorFlower <span class="pl-k">&lt;</span>gardener@tensorflow.org<span class="pl-k">&gt;</span>
Date:   Fri May 31 02:49:19 2019 -0700

    Test that <span class="pl-en">tf.saved_model.load</span>() does not add to the TRAINABLE_VARIABLES
    collection and add a comment why. There is no change <span class="pl-k">in</span> behavior.</pre></div>
<p dir="auto">I am using the Graph Transforms Tool (built with Bazel) to prepare my graph for Android TensorFlow Inference.</p>
<p dir="auto">When using <code class="notranslate">--transforms='quantize_weights'</code> everything works just fine.<br>
But with <code class="notranslate">--transforms='quantize_weights quantize_nodes'</code> I get this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="I/TensorFlowInferenceInterface: Checking to see if TensorFlow native methods are already loaded
I/TensorFlowInferenceInterface: TensorFlow native methods already loaded
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 22562 (obin.loremipsum)
        
        [ 03-24 19:19:10.194   375:  375 W/         ]
        debuggerd: handling request: pid=22562 uid=10173 gid=10173 tid=22562"><pre class="notranslate"><code class="notranslate">I/TensorFlowInferenceInterface: Checking to see if TensorFlow native methods are already loaded
I/TensorFlowInferenceInterface: TensorFlow native methods already loaded
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 22562 (obin.loremipsum)
        
        [ 03-24 19:19:10.194   375:  375 W/         ]
        debuggerd: handling request: pid=22562 uid=10173 gid=10173 tid=22562
</code></pre></div>
<p dir="auto">I don't have any clue on what has happened.<br>
I wasn't able to find anything related online.</p>