(二)关于InternVL2的环境安装

(二)关于InternVL2的环境安装


环境安装

提示:关于环境安装本章节主要参考官网,也会有一些难点说明。所以也可同时参考[官网](https://internvl.readthedocs.io/en/latest/get_started/installation.html)安装流程


  • 克隆官方仓库
git clone https://github.com/OpenGVLab/InternVL.git
  • 创建一个conda环境并使用
conda create -n internvl python=3.9 -y
conda activate internvl
  • 安装依赖
    关于依赖的安装可做选择,官网提供的 requirements.txt 包含了chat、streamlit_demo、classification、segmentation 等四种任务的相关依赖。像我只做chat任务的话

猜你喜欢

转载自blog.csdn.net/qq_36523839/article/details/143111475