Catherine_zhilin

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2023年8月14日

摘要: 1 def is_even(n): 2 return 1 if n%2==0 else 0 3 4 n=int(input()) 5 6 result = is_even(n) 7 print(result)#最后一行不能用return 因为return 只能在函数内部使用。在顶层代码中用retur 阅读全文
posted @ 2023-08-14 21:37 kkkshiki 阅读(85) 评论(0) 推荐(0) 编辑

2022年10月7日

摘要: dl 18 23 阅读全文
posted @ 2022-10-07 11:38 kkkshiki 阅读(22) 评论(0) 推荐(0) 编辑

2022年9月29日

摘要: 10个epoch中1-4: 阅读全文
posted @ 2022-09-29 20:33 kkkshiki 阅读(16) 评论(0) 推荐(0) 编辑

2022年9月6日

摘要: conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=11.0 -c pytorch https://github.com/AutoML-Research/F2GNN git clone https 阅读全文
posted @ 2022-09-06 10:05 kkkshiki 阅读(357) 评论(0) 推荐(0) 编辑

2022年9月5日

摘要: https://pytorch-geometric.com/whl/ 阅读全文
posted @ 2022-09-05 16:39 kkkshiki 阅读(25) 评论(0) 推荐(0) 编辑

2022年9月4日

摘要: 网络增强第一个解决方案 从网络数据本身还原 图自监督范式 阅读全文
posted @ 2022-09-04 15:25 kkkshiki 阅读(17) 评论(0) 推荐(0) 编辑

2022年9月2日

摘要: torch_scatter 安装 - 知乎 (zhihu.com) 阅读全文
posted @ 2022-09-02 16:06 kkkshiki 阅读(43) 评论(0) 推荐(0) 编辑

2022年8月31日

摘要: (96条消息) decay_rate, decay_steps ,batchsize,iteration,epoch_hellocsz的博客-CSDN博客_decay_steps (1)batchsize:批大小,也就是在一次模型迭代/训练过程中所使用的样本数目 (2)iteration:1个ite 阅读全文
posted @ 2022-08-31 21:04 kkkshiki 阅读(31) 评论(0) 推荐(0) 编辑

摘要: (96条消息) Python函数:学习率衰减 tf.train.exponential_decay()_萌萌哒huo的博客-CSDN博客_python 衰减函数 ln即学习率(learning rate)。 阅读全文
posted @ 2022-08-31 20:37 kkkshiki 阅读(20) 评论(0) 推荐(0) 编辑

摘要: IndexError: invalid index of a 0-dim tensor. Use `tensor.item()` in Python or `tensor.item<T>()` in C++ to convert a 0-dim tensor to a number - Attack 阅读全文
posted @ 2022-08-31 17:28 kkkshiki 阅读(21) 评论(0) 推荐(0) 编辑