{"id":9148,"date":"2024-01-29T16:36:15","date_gmt":"2024-01-29T08:36:15","guid":{"rendered":"\/?p=9148"},"modified":"2024-01-29T16:36:15","modified_gmt":"2024-01-29T08:36:15","slug":"py-torchgeometric%e5%b7%a5%e5%85%b7%e5%ae%89%e8%a3%85%e4%b8%8e%e9%85%8d%e7%bd%ae%ef%bc%88%e5%90%abpytorch%e5%ae%89%e8%a3%85%ef%bc%89","status":"publish","type":"post","link":"\/?p=9148","title":{"rendered":"Py-TorchGeometric\u5de5\u5177\u5b89\u88c5\u4e0e\u914d\u7f6e\uff08\u542bPyTorch\u5b89\u88c5\uff09"},"content":{"rendered":"<h2>\u5b98\u7f51\u4fe1\u606f<\/h2>\n<p>\u5b98\u65b9\u6587\u6863\uff1a<a href=\"https:\/\/pytorch-geometric.readthedocs.io\/en\/latest\/\">https:\/\/pytorch-geometric.readthedocs.io\/en\/latest\/<\/a><\/p>\n<p>\u4e0d\u8981pip\u5b89\u88c5\uff0c\u6253\u5f00github\uff1a<a href=\"https:\/\/github.com\/pyg-team\/pytorch_geometric\">https:\/\/github.com\/pyg-team\/pytorch_geometric<\/a><\/p>\n<p>\u627e\u5230\uff1a<\/p>\n<p><img src=\"https:\/\/lemon-guess.oss-cn-hangzhou.aliyuncs.com\/img\/image-20240126135422006.png\" alt=\"image-20240126135422006\" \/><\/p>\n<p><img src=\"https:\/\/lemon-guess.oss-cn-hangzhou.aliyuncs.com\/img\/image-20240126144405356.png\" alt=\"image-20240126144405356\" \/> <\/p>\n<h2>\u5b89\u88c5torch<\/h2>\n<p>\u6839\u636ecuda\u7248\u672c\u5b89\u88c5torch:<\/p>\n<p><img src=\"https:\/\/lemon-guess.oss-cn-hangzhou.aliyuncs.com\/img\/image-20240126140237265-1706253362472-3.png\" alt=\"image-20240126140237265\" \/><\/p>\n<p><a href=\"https:\/\/pytorch.org\/get-started\/previous-versions\/\">https:\/\/pytorch.org\/get-started\/previous-versions\/<\/a><\/p>\n<p><img src=\"https:\/\/lemon-guess.oss-cn-hangzhou.aliyuncs.com\/img\/image-20240126150846895.png\" alt=\"image-20240126150846895\" \/><\/p>\n<pre><code>pip install torch==1.12.1+cu102 torchvision==0.13.1+cu102 torchaudio==0.12.1 --extra-index-url https:\/\/download.pytorch.org\/whl\/cu102<\/code><\/pre>\n<h2>torch-geometric\u5b89\u88c5<\/h2>\n<p>torch-geometric\u8981\u548ctorch\u7248\u672c\u914d\u5957<\/p>\n<p><img src=\"https:\/\/lemon-guess.oss-cn-hangzhou.aliyuncs.com\/img\/image-20240126152015238.png\" alt=\"image-20240126152015238\" \/> <\/p>\n<p><strong>\u6bcf\u4e2a\u5305\u90fd\u88c5\uff1b\u5c3d\u91cf\u5b89\u88c5\u65b0\u7248\uff1bcp\u6307python\u7684\u7248\u672c\uff1b<\/strong><\/p>\n<p><img src=\"https:\/\/lemon-guess.oss-cn-hangzhou.aliyuncs.com\/img\/image-20240126152741094.png\" alt=\"image-20240126152741094\" \/> <\/p>\n<p>\u4e0b\u8f7d\u540e\uff0c\u7528pip\u5b89\u88c5\uff1a<\/p>\n<p><img src=\"https:\/\/lemon-guess.oss-cn-hangzhou.aliyuncs.com\/img\/image-20240126153116951.png\" alt=\"image-20240126153116951\" \/><\/p>\n<p>\u6700\u540e\u5b89\u88c5<code>torch-geometric<\/code>\uff1a <code>pip install torch-geometric<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b98\u7f51\u4fe1\u606f \u5b98\u65b9\u6587\u6863\uff1ahttps:\/\/pytorch-geometric.readthedocs.io\/en\/latest\/ \u4e0d\u8981pip\u5b89   \u2026 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[233],"tags":[],"_links":{"self":[{"href":"\/index.php?rest_route=\/wp\/v2\/posts\/9148"}],"collection":[{"href":"\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9148"}],"version-history":[{"count":1,"href":"\/index.php?rest_route=\/wp\/v2\/posts\/9148\/revisions"}],"predecessor-version":[{"id":9149,"href":"\/index.php?rest_route=\/wp\/v2\/posts\/9148\/revisions\/9149"}],"wp:attachment":[{"href":"\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9148"},{"taxonomy":"post_tag","embeddable":true,"href":"\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}