DLpMHCI doc
Home
  • Geting Start
  • Algorithm
  • Online analysis
  • Software package
  • Source code
FAQ
Contact (opens new window)
GitHub (opens new window)
Home
  • Geting Start
  • Algorithm
  • Online analysis
  • Software package
  • Source code
FAQ
Contact (opens new window)
GitHub (opens new window)
  • Getting Start

    • Introduction
    • Quick Start
  • Algorithm

    • Model Architecture
  • Online analysis

    • Website architecture design
    • Predict
  • Software package

    • Use this software
  • Source code

    • Configuring environment dependencies
      • Dependence
      • Install
    • Use these codes
  • Docs
  • Source code
JiangLab
2022-09-21
catalogue

Configuring environment dependencies

# Dependence

TIP

  • DLpMHC I requires the followingPython 3.8modules:
    • numpy 1.23.1
    • pandas 1.2.4
    • einops 0.4.1
    • pytorch 1.11.0

# Install

With the following command, you will create a virtual environment named DLpMHCI

# Create virtual environment
conda create -n DLpMHCI python=3.8
conda activate DLpMHCI

# Download dependencies for the specified version
pip install numpy==1.23.1
pip install pandas==1.2.4
pip install einops==0.4.1

However, the download and installation of pytorch are different. You need to go to the official website (opens new window) to select a version suitable for your server and use its instructions to install it.

# For example, my computer is MacBook Air(2022,M2,Monterey) , and I successfully completed the installation using the following code.
pip install torch==1.11.0 torchvision torchaudio

As the version of pytorch is updated, the name of a function we use will change. Therefore, it is strongly recommended that you install v.1.11.0 pytorch, not higher or lower.

Use this software
Use these codes

← Use this software Use these codes→

Copyright © 2022-2022 Jiang Lab | 赣ICP备20010039号
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式