tensorflow.python.framework.errors_impl.InvalidArgumentError: Invalid name: Addons>Gelu (Did you use CamelCase?); in OpDef: name: "Addons>Gelu" input_arg { name: "features" type_attr: "T" } output_arg { name: "activations" type_attr: "T" } attr { name: "T" type: "type" allowed_values { list { type: DT_HALF type: DT_FLOAT type: DT_DOUBLE } } } attr { name: "approximate" type: "bool" default_value { b: true } }Hi Phil,
Could you try moving to a different directory before launching python? That error generally means that python is trying to load a library from the source code directory that you're currently in (though no C++ files exist).
Best,Sean
From: 'Phil Sun' via SIG Addons <add...@tensorflow.org>
Sent: Tuesday, October 8, 2019 12:00 PM
To: SIG Addons <add...@tensorflow.org>
Subject: Problems using TF addons built from source
After I build TF addons from source, I get the error tensorflow.python.framework.errors_impl.NotFoundError: /usr/local/google/home/sunphil/addons/tensorflow_addons/custom_ops/activations/_activation_ops.so: cannot open shared object file: No such file or directory when importing tensorflow_addons in Python. This happens with both master and v0.6.0 (both built without GPU support), but the tensorflow-addons pip package imports fine. I'm following the build instructions from here: https://github.com/tensorflow/addons/tree/v0.6.0#installing-from-source--
Any help would be appreciated!
You received this message because you are subscribed to the Google Groups "SIG Addons" group.
To unsubscribe from this group and stop receiving emails from it, send an email to add...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/addons/e6562dae-e4fd-4213-993a-c369e9df4976%40tensorflow.org.
To unsubscribe from this group and stop receiving emails from it, send an email to addons+un...@tensorflow.org.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/addons/06c5cac0-3413-4e0c-8452-5e784d0be084%40tensorflow.org.