Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

如何在自己的Linux系统上安装Thera?

2025-08-25 1.1 K

安装Thera需要完成以下四个关键步骤:

  1. Environment Configuration::
    首先确认系统满足:Ubuntu 18.04+/NVIDIA GPU/CUDA 11.3环境。通过conda创建专用环境:
    conda create -n thera python=3.10
    conda activate thera
  2. Get Code::
    克隆GitHub仓库并进入项目目录:
    git clone https://github.com/prs-eth/thera.git
    cd thera
  3. Dependent Installation::
    升级pip后安装所有依赖项:
    pip install --upgrade pip
    pip install -r requirements.txt
  4. Model deployment::
    从Hugging Face下载预训练模型(如thera-rdn-pro.pkl),将其放置于项目根目录。推荐使用RDN Pro模型获得最佳效果

安装完成后可通过python run_eval.py -h验证环境。若遇到GPU内存问题,建议设置XLA_PYTHON_CLIENT_PREALLOCATE=falseEnvironment variables.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish