Comments (12)
To get around this error, clone the main TensorFlow repository, then manually compile the protocol buffer files in the proto directory. Assuming you are working from your home directory:
pip install grpcio grpcio-tools
git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow_gnn/tensorflow_gnn/proto
python -m grpc_tools.protoc -I . -I ~/tensorflow --python_out=. graph_schema.proto
python -m grpc_tools.protoc -I . -I ~/tensorflow --python_out=. examples.proto
from gnn.
Same error when run this example https://github.com/yarri-oss/gnn/blob/main/examples/citeseer/graph_tensor_example.py
from gnn.
@joshcarty Do you have this issue when you run gat_v2_test.py? Thank you.
from gnn.
Answered here.
I'd also be wary of using the above fork - it's from an older version of the package and quite a few changes have been made since, including the removal of those examples.
from gnn.
Had run the command before.
should have no error in the highlight box in pycharm if everything installed correctly?
from gnn.
The error suggests that there was an issue with the installation, as the modules that need to be built from Protobufs are not available.
Do you want to pip install the package again and show us the output of the install if it looks like there was a problem?
from gnn.
Thank you. The reason is my tf can't install successfully.
- My cpu does not support avx, so I comment #'tensorflow>=2.7.0', in setup.py and build tf by myself.
- Use pip to install my tf but got ERROR: tensorflow-2.7.0-cp39-cp39-linux_x86_64.whl is not a supported wheel on this platform.
- Use sudo pip to install my tf successfully.
- Why tf build in my OS can't install to my Os by general user but can install it successfully by super user?
from gnn.
It seems general user use /home/sidney/.local/bin/pip3.8 and super user use /usr/local/bin/pip3.9 cause the problem.
from gnn.
ssh://[email protected]:22/usr/bin/python -u /home/sidney/py_proj/tf-gnn/tensorflow_gnn/graph/keras/layers/gat_v2_test.py
free(): invalid pointer
Process finished with exit code 134
this error occur after all installed correctly, what's the problem?
from gnn.
So the tf is not installed correctly? How to solve this problem then?
from gnn.
Run gat_v2_test.py successfully now. But need copy the generated file graph_schema_pb2.py to the proto folder, is it normal?
from gnn.
Thanks. This just generate graph_schema_pb2.py from graph_schema.proto in proto folder, right? it is generated in another place when install tensorflow_gnn, and just need to copy it to proto folder.
from gnn.
Related Issues (20)
- Mixed Precision Training with Runner HOT 3
- If plan to launch a pretrained model? is it possible to fine-tune or transfer-learning for tf-gnn? HOT 6
- setup failure on macOS 13.5.2, commit d7c81a2 HOT 5
- How to express the edge weight when aggregating neighbor nodes? HOT 3
- How to print the value/embedding of a node_set after training is complete? HOT 1
- Graph execution error: INVALID_ARGUMENT: ConcatOp : Dimension 0 in both shapes must be equal
- Graph explainability : feature suggestion
- How does GraphTensor work with tf.data.Dataset? HOT 3
- How to construct an input string using languages like Java? HOT 1
- Does the deployment of the model based on tfgnn in tf-serving support batch?
- The parameters of the preprocessing model cannot be updated.
- Dockerfile is not consistent with readme guide. HOT 2
- Problem of graph_sampler when using latent node
- The model SubMix can't be found!!! HOT 2
- Dynamically complete the features for nodes in the graph during training
- graph with multiple same direction edges (but different feature) between two nodes HOT 3
- .
- Broadcast padding mask to align with labels HOT 4
- Using tfgnn with tflite without graphtensor input HOT 1
- Support tf.SparseTensor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnn.