https://github.com/divelab/AIRS
创始人
2024-11-11 07:07:38

这里写自定义目录标题


https://github.com/divelab/AIRS

环境设置
我们将用于安装依赖项和设置环境。我们建议使用 Python 3.9 Miniconda 安装程序。conda
安装完成后,运行conda
conda env create -f environment.yml
然后运行以下代码以激活环境
conda activate potnet
我们正在用于实现我们的图神经网络。安装 via conda 似乎有问题,因此我们明确使用 pip 作为torch-geometrictorch-geometric
pip install torch-scatter2.1.0 torch-sparse0.6.16 torch-cluster1.6.0 torch-spline-conv1.2.1 -f https://data.pyg.org/whl/torch-1.12.1%2Bcu116.html

pip install dgl1.1.1
pip install pydantic
1.10.2
pip install cython3.0.0
pip install ase
3.22.1
pip install jarvis-tools2022.9.16
pip install numpy
1.21.6
pip install pandarallel1.6.3
pip install pandas
1.3.5
pip install periodictable1.6.1
pip install pymatgen
2021.3.3
pip install pytorch-ignite0.4.10
pip install pyyaml
6.0
pip install scikit-learn1.0.2
pip install scipy
1.7.3
pip install tqdm==4.64.1

pip install torch-geometric
请注意,我们正在使用旧版本的 JARVIS 工具包。最新的 JARVIS 工具包将包含新版本的数据集,其中包含的数据比我们在论文中介绍的数据更多。jarvis-tools==2022.9.16
运行求和算法
要运行求和算法,请运行以下命令以安装算法包(请记住将其替换为您自己的目标。TARGET_PATH
cd functions
tar xzvf gsl-latest.tar.gz
cd gsl-2.7.1
./configure --prefix=TARGET_PATH
sudo apt install libgsl-dev
make
make install
Then edit by adding~/.bashrc
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:TARGET_PATH/lib/

source ~/.bashrc
or create another terminal.

Now we back to directory and runfunctions
python setup.py build_ext --inplace
Then the algorithm is installed as Cython package. A simple way to test if it is successfully installed is to run below in the root directory.
python test_algorithm.py

相关内容

热门资讯

裸辞做“一人公司”,我后悔了 去年这个时候,一位以色列程序员正在东南亚旅行。他顺手把一个在脑子里转了很久的想法做成了产品,一个让任...
南京建成国内首个Pre-6G试... 4月21日,2026全球6G技术与产业生态大会在南京开幕。全息互动技术展台前,一名远在北京的工作人员...
超梵求职受邀参加“2025抖音... 超梵求职受邀参加“2025抖音巨量引擎成人教育行业生态大会”,探讨分享优质内容传播,服务万千学员。 ...
摩托罗拉Razr 2026(R... IT之家 4 月 22 日消息,摩托罗拉宣布新一代 Razr 折叠手机将于 4 月 29 日在美国发...
库克卸任,特纳斯领航:苹果新纪... 苹果首席执行官蒂姆·库克将卸任,硬件工程主管约翰·特纳斯将接任,苹果公司今天宣布此事。 库克将在夏季...