OpenGVLab/InternVL-Chat-V1-5-Int8

        openedai-vision        代码仓库

        

        

        

        OpenGVLab/InternVL-Chat-V1-5-Int8        模型文件地址                                

        

        算力平台AutoDL        

        

df -h /root/autodl-tmp

        

tar -xvf FileName.tar
tar -xvf 

++

sudo apt update
sudo apt install unrar
unrar x FileName.rar DestinationFolder

这里,FileName.rar是你想要解压的RAR文件的名称,DestinationFolder是你要解压到的目标文件夹的路径

安装

  1. 克隆我们的仓库并跳转到相应目录

2. 创建 conda 环境

conda create -n inter python=3.10 -y
conda activate inter
conda activate inter

3. 安装依赖

pip install -r requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple 
pip install gradio==3.40.0 -i https://pypi.mirrors.ustc.edu.cn/simple

手动安装说明

# install the python dependencies
pip install -U -r requirements.txt "transformers>=4.39.0" autoawq
# OR install the python dependencies for the alt version
pip install -U -r requirements.txt "transformers==4.36.2"
# run the server with your chosen model
python vision.py --model vikhyatk/moondream2

图像测试

opencompass/open_vlm排行榜

        opencompass/open_vlm_leaderboard

查看磁盘空间大小

df -h /dev/sda1
 

在算力平台AutoDL遇到的报错:

root@autodl-container-cffc47b4c5-4a5f97c0:~/tf-logs# conda activate minicpmv2 CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'. To initialize your shell, run

IMPORTANT: You may need to close and restart your shell after running 'conda init'.

解决方法需要运行 :

conda init bash

解压zip文件

unzip filename.zip

unzip filename.zip -d /path/to/directory
 

ls -lh example.zip
显示文件大小

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值