当前位置: 首页 > ds >正文

Florence2代码实战

代码地址见文末

1. 环境配置

conda create --name florence python=3.11
conda activate florence
nvcc --version
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ transformers
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ peft tqdm Levenshtein
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ pandas numpy
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ tqdm einops timm
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/ Pillow supervision
pip3 install -i https://mirrors.tuna.tsinghua.edu.cn/pypi/web
http://www.xdnf.cn/news/6921.html

相关文章:

  • 初识计算机网络。计算机网络基本概念,分类,性能指标
  • 终端和shell , 以及XShell 用ssh命令登陆主机的过程
  • Spring三级缓存的作用与原理详解
  • 内网环境下如何使用ntpdate实时同步时间
  • java+selenum专题(一)
  • Java 与 面向对象编程(OOP)
  • dify知识库支持图文回复实践
  • 【Win32 API】 lstrcpynA()
  • 浮动静态路由配置实验
  • 使用 Cookie 实现认证跳转功能
  • 用Python绘制梦幻星空
  • 5.9/Q1,GBD数据库最新文章解读
  • 华三H3C交换机配置NTP时钟步骤 示例
  • STM32F103经SPI总线向写Micro SD卡
  • 逻辑回归预测考试通过
  • 深入GoFrame框架:GToken的优势、实践与踩坑经验分享
  • leetcode0215. 数组中的第K个最大元素-medium
  • 聊一聊接口测试的一致性如何处理?
  • Sumsub Java Web Demo 技术文档
  • 从零开始学习three.js(20):three.js实现天气与时间动态效果(白天,黑夜,下雨,下雪)
  • 基于亚博K210开发板——六轴姿态传感器 icm20607陀螺仪读取原始数据测试
  • freertos中xTaskCreate和vTaskDelete详解
  • 如何提高redis缓存命中率
  • display:grid网格布局属性说明
  • 运营级 印度Rummy源码
  • 收放卷“材料停机减速距离“计算FC(算法公式+ST源代码+C++代码)
  • 考研数学微分学(第一讲)
  • 线程和进程
  • std::tuple 用法
  • yocto项目例子