配环境跑lunar

qwqllly/LUNAR: LUNAR: Unifying Local Outlier Detection Methods via Graph Neural Networks (github.com)

创建虚拟环境

conda create -n lunar python=3.8

进入虚拟环境

conda activate lunar     

安装numpy pandas  scikit-learn

conda install Numpy=1.19.5
conda install Pandas=1.3.2
conda install scikit-learn=0.24.2

安装pytorch 旧版本 Previous PyTorch Versions | PyTorch

conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=10.2 -c pytorch

安装faiss:Faiss Gpu :: Anaconda.org

Welcome to Faiss Documentation — Faiss documentation

conda install -c pytorch faiss-gpu

这四个碰到了大问题。

安装pytorch-cluster     Pytorch Cluster :: Anaconda.org (会自动寻找合适的包)

conda install -c rusty1s pytorch-cluster

安装pytorch-scatter  Pytorch Scatter :: Anaconda.org

conda install -c rusty1s pytorch-scatter

安装pytorch-sparse Pytorch Sparse :: Anaconda.org

conda install -c rusty1s pytorch-sparse

安装pytorch-spline-conv Pytorch Spline Conv :: Anaconda.org

conda install -c rusty1s pytorch-spline-conv

安装torch_geometric

conda install torch_geometric

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值