alibaba / alibaba/GraphScope

[BUG]

Open
#4,350 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

**Describe the bug**
Nodes are missing after sampling graph nodes without duplicates.

**To Reproduce**
Steps to reproduce the behavior:
1. Loading data for heterogeneous graph.
2. Neighborhood query for user nodes of heterogeneous graph using “Query” function, then feature stitching using function. And then we get “train_loader”.
3. Load the weights of the trained embedding model and perform the embedding operation on the “train_loader” based on all user nodes.
4. Outputs the “inputs”,“emb”, and “outputs” of the embedding model.

**Expected behavior**
The number of user nodes in the “inputs”, “emb”, and “outputs” of the embedding model should be the same as in the original graph.

**Screenshots**
![1](https://github.com/user-attachments/assets/f685dad9-a50c-4407-9c39-426ff4998ddd)
![2](https://github.com/user-attachments/assets/6575d855-2449-4f20-8426-6d3b47169882)
![3](https://github.com/user-attachments/assets/528a4eb2-c30e-4c84-81f9-44f6025ae1bc)
![3 5](https://github.com/user-attachments/assets/b11a447f-dc8b-4c7f-9522-7ea6640cb2ac)
![4](https://github.com/user-attachments/assets/133ee3a5-c48a-4fdf-a65f-2bbd23c1d675)
![5](https://github.com/user-attachments/assets/380fe8c2-bbc3-472d-869e-14b30fa1df91)
![6](https://github.com/user-attachments/assets/398d8fc2-aabc-4a68-b149-4e7d951169cc)

**Environment (please complete the following information):**
- GraphScope version: [e.g., v0.25]
- OS: [e.g. Linux]
- Version [Ubuntu 22.04(Jammy Jellyfish)]
- Kubernetes Version [e.g., v3.3.0]

**Additional context**
The missing 5 user nodes have neighbors and are not duplicate nodes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.