pku-dair / sgl Goto Github PK
View Code? Open in Web Editor NEWA scalable graph learning toolkit for extremely large graph datasets. (WWW'22, ๐ Best Student Paper Award)
Home Page: https://sgl-doc.readthedocs.io/en/latest
License: MIT License
A scalable graph learning toolkit for extremely large graph datasets. (WWW'22, ๐ Best Student Paper Award)
Home Page: https://sgl-doc.readthedocs.io/en/latest
License: MIT License
Describe the bug
code:
from sgl.dataset import Planetoid
from sgl.models.homo import SGC
from sgl.tasks import NodeClassification
dataset = Planetoid("pubmed", "./", "official")
model = SGC(prop_steps=3, feat_dim=dataset.num_features, num_classes=dataset.num_classes)
device = "cuda:0"
test_acc = NodeClassification(dataset, model, lr=0.1, weight_decay=5e-5, epochs=200, device=device).test_acc
bug:
Traceback (most recent call last):
File "quick_start.py", line 9, in
test_acc = NodeClassification(dataset, model, lr=0.1, weight_decay=5e-5, epochs=200, device=device).test_acc
File "/home/ubuntu/miniconda3/lib/python3.8/site-packages/sgl/tasks/node_classification.py", line 39, in init
self.__test_acc = self._execute()
File "/home/ubuntu/miniconda3/lib/python3.8/site-packages/sgl/tasks/node_classification.py", line 49, in _execute
self.__model.preprocess(self.__dataset.adj, self.__dataset.x)
File "/home/ubuntu/miniconda3/lib/python3.8/site-packages/sgl/models/base_model.py", line 25, in preprocess
self._processed_feat_list = self._pre_graph_op.propagate(
File "/home/ubuntu/miniconda3/lib/python3.8/site-packages/sgl/operators/base_op.py", line 32, in propagate
feat_temp = csr_sparse_dense_matmul(self._adj, prop_feat_list[-1])
File "/home/ubuntu/miniconda3/lib/python3.8/site-packages/sgl/operators/utils.py", line 10, in csr_sparse_dense_matmul
ctl_lib = ctl.load_library("./csrc/libmatmul.so", "./operators/")
File "/home/ubuntu/miniconda3/lib/python3.8/site-packages/numpy/ctypeslib.py", line 163, in load_library
raise OSError("no file with expected extension")
OSError: no file with expected extension
Environment
Question
I don't know why such a mistake happened. Please help me.
Hi, Your paper is really interesting, and I try to retype this code and find that PASCA-V1(V2, V3) are not included in this respority. From this code, we know that SGAP is a fundamental framework of this paper, and SGC is constructed based on this framework, am I right?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.