<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[智慧的旋风的博客]]></title><description><![CDATA[https://github.com/ytchx1999]]></description><link>https://blog.csdn.net/weixin_41650348</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_41650348]]></copyright><item><title><![CDATA[2021-MAXP-DGL图机器学习大赛-Graph@ICT-复盘与总结【rank6】]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/122122231</link><guid>https://blog.csdn.net/weixin_41650348/article/details/122122231</guid><author>weixin_41650348</author><pubDate>Sat, 15 Jan 2022 16:58:05 +0800</pubDate><description><![CDATA[2021-MAXP-DGL图机器学习大赛-Graph@ICT-复盘
文章目录2021-MAXP-DGL图机器学习大赛-Graph@ICT-复盘写在前面初赛：超长战线前期：顺风顺水到阶段性受挫中期：柳暗花明后又遭受打击后期：人都被卷没了到又重新燃起希望复赛：决定命运的48hday1day2复赛放榜总结
写在前面
时间真快，遥想刚开始搞这个比赛的时候，我还是刚从字节离职。一晃几个月就过去了，我的研一上学期也接近了尾声。
这个比赛奖金贼多，总奖金18w，但是根据我从小到大围棋比赛的经验来看，有奖金特别是奖金丰厚的]]></description><category></category></item><item><title><![CDATA[git的一些使用心得]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/120468950</link><guid>https://blog.csdn.net/weixin_41650348/article/details/120468950</guid><author>weixin_41650348</author><pubDate>Sat, 25 Sep 2021 11:15:05 +0800</pubDate><description><![CDATA[git使用总结
关于回滚
git add filname

如果错误add的某文件（后悔了），则可以通过以下命令进行撤回
git reset filname


之后可以提交代码到本地仓库。
git commit -m "message"

如果错误commit，想回到上一次的版本，则可以通过以下命令进行回滚
# 查看commit id
git log 
# 回滚并保持修改的文件（未跟踪状态）
git reset commit_id
# 强制回滚到指定版本，不保存修改
git reset --hard co]]></description><category></category></item><item><title><![CDATA[ROC-AUC的理解]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/120341504</link><guid>https://blog.csdn.net/weixin_41650348/article/details/120341504</guid><author>weixin_41650348</author><pubDate>Fri, 17 Sep 2021 08:48:53 +0800</pubDate><description><![CDATA[ROC-AUC
AUC就是ROC曲线下面的面积，是评价二分类任务的重要指标。
ROC曲线
x轴是FPR=FP / (FP+TN)——就是预测为正（1）但是预测错了的数量 / 全部负样本（0）数量，FP / NegNum。
y轴是TPR=TP / (TP+FN)——就是预测为正并且预测正确 / 全部正样本（1）的数量，TP / PosNum。
ROC曲线是阶梯状的。
计算AUC
把p从高到低排序，然后从前往后以此作为threshold来判断预测为正还是负。依次描点计算面积。
伪代码：参考https://zhu]]></description><category></category></item><item><title><![CDATA[node2vec简单总结]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/120341477</link><guid>https://blog.csdn.net/weixin_41650348/article/details/120341477</guid><author>weixin_41650348</author><pubDate>Fri, 17 Sep 2021 08:46:41 +0800</pubDate><description><![CDATA[node2vec
参考博客：https://zhuanlan.zhihu.com/p/56542707
伪代码

def node2vec_walk(G, u, walk_length):
	walk = [u]
	for l in range(walk_length):
		V = get_neighbors(G, walk[-1])
		s = alias_sample(V, pi)  # 核心的采样策略
		walk.append(s)
	
	return walk 

def node2vec(..]]></description><category></category></item><item><title><![CDATA[【使用技巧与心得】vscode ssh远程连接服务器、调试python代码等]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/120315582</link><guid>https://blog.csdn.net/weixin_41650348/article/details/120315582</guid><author>weixin_41650348</author><pubDate>Thu, 16 Sep 2021 18:48:57 +0800</pubDate><description><![CDATA[使用vscode远程连接开发机有一段时间了，逐渐熟悉之后，我的感想也很简单——vscode，真香！
vscode ssh远程连接开发机
本地文件上传到开发机
vscode远程调试python代码
vscode支持内置的tensorboard

]]></description><category></category></item><item><title><![CDATA[PyTorch学习笔记（5）——Kaggle猫狗分类问题数据集读取和构建]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/120017523</link><guid>https://blog.csdn.net/weixin_41650348/article/details/120017523</guid><author>weixin_41650348</author><pubDate>Tue, 31 Aug 2021 14:49:41 +0800</pubDate><description><![CDATA[Kaggle猫狗分类问题数据集处理
数据集官方下载：https://www.kaggle.com/c/dogs-vs-cats-redux-kernels-edition/data
参考资料：

https://github.com/ytchx1999/Pytorch-Camp
https://github.com/greebear/pytorch-learning

import torch
import os
from PIL import Image
from torch.utils.data imp]]></description><category></category></item><item><title><![CDATA[PyTorch学习笔记（4）——常用方法和细节]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/119976389</link><guid>https://blog.csdn.net/weixin_41650348/article/details/119976389</guid><author>weixin_41650348</author><pubDate>Sun, 29 Aug 2021 09:22:45 +0800</pubDate><description><![CDATA[参考：

https://github.com/JansonYuan/Pytorch-Camp
https://github.com/greebear/pytorch-learning





方法
功能 / 注意事项




id()
可以打印变量的内存地址


y = x
直接赋值，两个变量共享内存


torch.full((3, 2), 2)
tensor([[2, 2], [2, 2],  [2, 2]])


torch.arange(1, 10, 1)
tensor([1, 2, 3, 4,]]></description><category></category></item><item><title><![CDATA[【Graphormer阅读笔记、实验与刷榜】《Do Transformers Really Perform Bad for Graph Representation?》]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/119456546</link><guid>https://blog.csdn.net/weixin_41650348/article/details/119456546</guid><author>weixin_41650348</author><pubDate>Mon, 09 Aug 2021 09:05:36 +0800</pubDate><description><![CDATA[Graphormer阅读笔记——chx

paper：https://arxiv.org/abs/2106.05234
code：https://github.com/microsoft/Graphormer （main分支）

Graphormer主要策略

1. Transformer结构
主要有Transformer layer组成，每一层包括MHA（多头自注意）和FFN（前馈）模块，并增加了LN。
h′(l)=MHA(LN(h(l−1)))+h(l−1)h(l)=FFN(LN(h′(l)))+h′(]]></description><category></category></item><item><title><![CDATA[【字节（北京）AML图计算算法实习生】面试经历]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/118709630</link><guid>https://blog.csdn.net/weixin_41650348/article/details/118709630</guid><author>weixin_41650348</author><pubDate>Sat, 17 Jul 2021 11:08:28 +0800</pubDate><description><![CDATA[前言
某一天，我偶然在群里发现了一个字节AI Lab图算法的实习生内推，于是便整了整简历，投了过去。字节hr小姐姐的速得很快，1小时候就给我打电话了，约了一下一面的时间。和亚马逊不太一样，必须是一面通过之后才是二面。
一面（2021.7.13 18:00~18:45）
面试是在牛客平台上的视频面试，面试官是个精神小伙。
一开始先进行了自我介绍。然后面试官马上就开始问OGB冲榜的事情了。先让我简单介绍了一下这个项目，显然是比较感兴趣，问了一些细节问题。有一个问题是，node2vec Embedding能够提升]]></description><category></category></item><item><title><![CDATA[【亚马逊（上海）-AI Lab-DGL】实习生投递+面试（凉经）]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/118631813</link><guid>https://blog.csdn.net/weixin_41650348/article/details/118631813</guid><author>weixin_41650348</author><pubDate>Thu, 15 Jul 2021 19:57:46 +0800</pubDate><description><![CDATA[前言
简历过了之后，HR会和你约面试时间。一共是两轮面试，一块约好时间，无论一面过没过都要参加二面，最后应该是两个面试官讨论之后决定是否发offer。
简历投递
我实在牛客上偶然看到的DGL招实习生，就想着试一试，于是便投递了简历。
第一版简历只写了本科学校，没写研究生学校，遂卒，建议直接被筛掉了。。第二版简历写上了计算所，于是简历就过了，ICT，yyds！这里说一下为什么两次投的不一样——因为牛客上面一个项目被拒了之后就没法重新投递了，这两个简介一样，都是DGL，所以就换了一个。

HR约面试
7.2简历]]></description><category></category></item><item><title><![CDATA[【DGL学习5】DGL消息传递API详解]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/117365657</link><guid>https://blog.csdn.net/weixin_41650348/article/details/117365657</guid><author>weixin_41650348</author><pubDate>Fri, 28 May 2021 16:05:55 +0800</pubDate><description><![CDATA[DGL消息传递API详解
参考：https://docs.dgl.ai/guide_cn/message-api.html
MPNN的实例请参考：【DGL学习2】编写自己的GNN模型（MPNN）

import dgl
import torch
import dgl.function as fn

Using backend: pytorch


g = dgl.graph((torch.tensor([0, 0, 0, 1, 1]), torch.tensor([1, 2, 3, 2, 3])))
pri]]></description><category></category></item><item><title><![CDATA[【DGL学习4】使用DGL构造异构图]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/117334408</link><guid>https://blog.csdn.net/weixin_41650348/article/details/117334408</guid><author>weixin_41650348</author><pubDate>Thu, 27 May 2021 18:03:44 +0800</pubDate><description><![CDATA[使用DGL都早异构图
参考：https://docs.dgl.ai/guide_cn/graph-heterogeneous.html
import dgl
import torch

Using backend: pytorch

使用DGL创建异构图
下面一个异构图示例。该图具有两种类型的节点(“用户”和”游戏”)和两种类型的边(“关注”和”玩”)。
我们将按照这个例子来创建一个异构图。

graph_data = {
    ('user', 'follows', 'user') : (torch.t]]></description><category></category></item><item><title><![CDATA[【DGL学习3】自己构造和使用简单图]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/117329503</link><guid>https://blog.csdn.net/weixin_41650348/article/details/117329503</guid><author>weixin_41650348</author><pubDate>Thu, 27 May 2021 15:16:53 +0800</pubDate><description><![CDATA[使用DGL构造和使用简单图。
参考：https://docs.dgl.ai/guide_cn/graph-graphs-nodes-edges.html
import dgl
import torch
import numpy as np

Using backend: pytorch

使用DGL建简单图
创建一个 DGLGraph 对象的一种方法是使用 dgl.graph() 函数。它接受一个边的集合作为输入。
DGL推荐使用Tensor作为DGL API的输入。不过大部分的DGL API也支持Pyth]]></description><category></category></item><item><title><![CDATA[【DGL学习2】编写自己的GNN模型（MPNN）]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/117321813</link><guid>https://blog.csdn.net/weixin_41650348/article/details/117321813</guid><author>weixin_41650348</author><pubDate>Thu, 27 May 2021 10:01:44 +0800</pubDate><description><![CDATA[使用DGL的消息传递API编写自己的GNN模型。
参考：

https://docs.dgl.ai/tutorials/blitz/3_message_passing.html
https://docs.dgl.ai/api/python/udf.html#apiudf
https://docs.dgl.ai/generated/dgl.function.copy_u.html

import dgl
import torch
import torch.nn as nn
import torch.nn.fu]]></description><category></category></item><item><title><![CDATA[【DGL学习1】GCN example]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/117283253</link><guid>https://blog.csdn.net/weixin_41650348/article/details/117283253</guid><author>weixin_41650348</author><pubDate>Wed, 26 May 2021 10:40:35 +0800</pubDate><description><![CDATA[DGL学习
用DGL实现一个简单的GCN-cora的例子。
参考：https://docs.dgl.ai/tutorials/blitz/1_introduction.html#sphx-glr-tutorials-blitz-1-introduction-py
import dgl
import torch
import torch.nn as nn
import torch.nn.functional as F

Using backend: pytorch

import dgl.data

data]]></description><category></category></item><item><title><![CDATA[【资料整理】论文写作+近期会议论文投稿]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/116332140</link><guid>https://blog.csdn.net/weixin_41650348/article/details/116332140</guid><author>weixin_41650348</author><pubDate>Sat, 01 May 2021 18:32:20 +0800</pubDate><description><![CDATA[论文写作
智源论坛·论文写作专题报告会

中国科学院计算技术研究所研究员兰艳艳《论文写作小白的成长之路》
中国人民大学副教授赵鑫《谈如何写一篇合格的国际学术论文》
北京大学研究员施柏鑫《计算机视觉会议论文从投稿到接收》


近期会议论文投稿




会议名称
DDL
分类




PRICAI
5.23
ccf-c


ACML
6.25
ccf-c


ICONIP
6.30
ccf-c


Springer LNAI latex template。
Call4Papers。

...]]></description><category></category></item><item><title><![CDATA[DGL学习资料]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/115689614</link><guid>https://blog.csdn.net/weixin_41650348/article/details/115689614</guid><author>weixin_41650348</author><pubDate>Wed, 14 Apr 2021 08:56:14 +0800</pubDate><description><![CDATA[准备开始学习DGL了，不知道有PyG的基础，学得会怎么样。
DGL-paper：https://arxiv.org/pdf/1909.01315.pdf
github项目地址：https://github.com/Espylapiza/dgl
官方文档与指南：https://docs.dgl.ai/en/latest/
OGB数据集代码：https://github.com/Espylapiza/dgl/tree/master/examples/pytorch/ogb
准备先上知乎看看，然后再看一下DGL-]]></description><category></category></item><item><title><![CDATA[GNN Tricks《Bag of Tricks of Semi-Supervised Classification with Graph Neural Networks》]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/115670543</link><guid>https://blog.csdn.net/weixin_41650348/article/details/115670543</guid><author>weixin_41650348</author><pubDate>Wed, 14 Apr 2021 08:43:36 +0800</pubDate><description><![CDATA[Wang Y. Bag of Tricks of Semi-Supervised Classification with Graph Neural Networks[J]. arXiv preprint arXiv:2103.13355, 2021.

我在浏览OGB排行榜代码的时候偶然发现了一篇关于GNN的Tricks的文章，作者是DGL Team的大佬，这篇貌似还没有被会议接受，不过已经在Arxiv上preprint出来了。本文改进后的几个模型在几个OGB数据集上的表现都不错。所以就赶快拿过来看看，学.]]></description><category></category></item><item><title><![CDATA[vscode ssh中让程序在服务器后台运行并将结果保存到log中]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/115353219</link><guid>https://blog.csdn.net/weixin_41650348/article/details/115353219</guid><author>weixin_41650348</author><pubDate>Wed, 31 Mar 2021 16:33:13 +0800</pubDate><description><![CDATA[参考：https://cloud.videojj.com/help/docs/faq.html#id10
假设这里要训练的目标文件是gcn_res_cs.py。
1、将程序放到后台运行，将标准输出和错误输出写入到 .log 文件中
nohup python gcn_res_cs.py &gt; ./gcn_res_cs.log 2&gt;&amp;1 &amp;

2、查看实时日志中的输出结果。
注意，在 Python 3 中需要使用 print("", flush=True) 让日志实时的写到文件中。
t]]></description><category></category></item><item><title><![CDATA[C&S《Combining Label Propagation and Simple Models Out-performs Graph Neural Networks》理论与实战]]></title><link>https://blog.csdn.net/weixin_41650348/article/details/115301921</link><guid>https://blog.csdn.net/weixin_41650348/article/details/115301921</guid><author>weixin_41650348</author><pubDate>Mon, 29 Mar 2021 16:30:42 +0800</pubDate><description><![CDATA[C&amp;S

Huang Q, He H, Singh A, et al. Combining Label Propagation and Simple Models Out-performs Graph Neural Networks[J]. arXiv preprint arXiv:2010.13993, 2020.

本文主要提出了一种图上更好更快的技巧 Correct and Smooth (C&amp;S)，以纠正和平滑预测值。搭配这种技巧，很多「不使用图结构」的baseline模型在（直推式]]></description><category></category></item></channel></rss>