环境安装
提示:关于环境安装本章节主要参考官网,也会有一些难点说明。所以也可同时参考[官网](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任务的话