Comments (12)
Hi, @wangzeyu135798,
The code should automatically download the dataset at the first run if you download the correct dependencies. Please feel free to drop questions if it still not works.
from graphcl.
from graphcl.
包括的。他会自动下载数据,然后预处理成.pt文件。需要torch-geometric版本之类的正确才行。
from graphcl.
I make an update to provide the conda environment file that might help you collect the required dependencies. Please see https://github.com/Shen-Lab/GraphCL/tree/master/semisupervised_TU#option-2.
Any other questions feel free to drop here. Thanks.
from graphcl.
from graphcl.
from graphcl.
from graphcl.
First, is one positive pair is the same graph data instance augmented in two aspects?: Yes.
Second, when calculating the loss, line res_gcn.py line 233, loss = pos_sim / (sim_matrix.sum(dim=1)) - pos_sim - self_sim, while in paper equation(3) the last two components(pos_sim and self_dim) are lost, why? Thanks for pointing it out. The denominator in formulation should be corrected as sum_{k=1, k!=i}^N xxx.
ValueError: Found input variables with inconsistent numbers of samples: [3699, 4110] Would you mind sharing your environment.yml file that I can double-check? Thanks.
还有一个问题。在semisupervised-TU/fine-tuning/train_eval.py 里面,调用train函数的时候是在进行有监督训练,那么此时的model不也应该被保存吗?在代码中没有看到调用train函数时模型被save。 In finetuning I only saved the results before since the overall results are 10- or 100-fold evaluation with 5 runs. Of course, you can make small modification in code to save the models.
Hope my answers can help you.
from graphcl.
from graphcl.
Please follow the dependencies part https://github.com/Shen-Lab/SS-GCNs#dependencies that pip install
only provide your the API between python and METIS, but you also need to install METIS such that python can call METIS.
In https://github.com/Shen-Lab/SS-GCNs#dependencies for Linux thus we need to run sudo apt-get install libmetis-dev
.
from graphcl.
from graphcl.
Please see the bottom of this README.md https://github.com/Shen-Lab/SS-GCNs/tree/master/SS-GCNs#training--evaluation.
from graphcl.
Related Issues (20)
- About Unsupervised_Cora_Citeseer HOT 1
- Different result about Transfer Learning HOT 2
- ValueError: `MessagePassing.propagate` only supports `torch.LongTensor` of shape `[2, num_messages]` or `torch_sparse.SparseTensor` for argument `edge_index`. HOT 1
- Question about GraphCL HOT 1
- Question About Sungraph HOT 1
- Question about data augmentation HOT 1
- Question about Unsupervised_TU HOT 4
- Unsupervised learning with self created dataset HOT 1
- graph classification HOT 1
- 问题请教 HOT 1
- A question about Semisupervised_TU in pre_training HOT 1
- 运行过程未结束就‘Early stopping!’ HOT 1
- Question about Unsupervised_TU experiments details HOT 4
- Question about Unsupervised-TU ''test'' and ''val'' HOT 1
- How to use for Graph Clustering. HOT 1
- information about the datasets HOT 1
- Question about cortex_DIM in net_infomax.py of semisupervised_TU/finetuning HOT 2
- File "/home/test02/code/GraphCL-master/semisupervised_TU/pre-training/feature_expansion.py", line 27, in __init__ super(FeatureExpander, self).__init__('add', 'source_to_target') TypeError: __init__() takes from 1 to 2 positional arguments but 3 were given HOT 1
- Dateset Error HOT 2
- Dataset Download Fail HOT 2
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 graphcl.