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

广州市网站制作服务公司创意网名大全

广州市网站制作服务公司,创意网名大全,屏显的企业网站应该怎么做,营销型网站建设要多少钱PandaGPT 是一种通用的指令跟踪模型#xff0c;可以看到和听到。实验表明#xff0c;PandaGPT 可以执行复杂的任务#xff0c;例如生成详细的图像描述、编写受视频启发的故事以及回答有关音频的问题。更有趣的是#xff0c;PandaGPT 可以同时接受多模态输入并自然地组合它们… PandaGPT 是一种通用的指令跟踪模型可以看到和听到。实验表明PandaGPT 可以执行复杂的任务例如生成详细的图像描述、编写受视频启发的故事以及回答有关音频的问题。更有趣的是PandaGPT 可以同时接受多模态输入并自然地组合它们的语义。例如PandaGPT 可以连接对象在照片中的外观以及它们在音频中的声音。为此PandaGPT 结合了 ImageBind 的多模式编码器和 Vicuna 的大型语言模型。值得注意的是尽管 PandaGPT 在六种模式文本、图像/视频、音频、深度、热和 IMU中展示了令人印象深刻的跨模式功能但它仅使用对齐的图像-文本对进行训练感谢 ImageBind 提供的共享嵌入空间。我们希望 PandaGPT 成为构建 AGI 的第一步它可以像我们人类一样整体感知和理解不同模式的输入。 githubGitHub - yxuansu/PandaGPT: PandaGPT: One Model To Instruction-Follow Them All 1、搭建环境 conda create -n pandagpt python3.9conda activate pandagpt 创建虚拟环境pandagptpython3.9激活环境 git clone https://github.com/yxuansu/PandaGPT.gitcd /content/drive/MyDrive/PandaGPTpip install -r requirements.txtpip install torch1.13.1cu117 -f https://download.pytorch.org/whl/torch/pip install gradio mdtex2html 下载PandaGPT源码安装依赖包。 2、下载模型 curl -L https://dl.fbaipublicfiles.com/imagebind/imagebind_huge.pth -o /content/drive/MyDrive/imagebind_ckpt/_huge.pth准备ImageBind Checkpoint保存为/content/drive/MyDrive/imagebind_ckpt/_huge.pth 准备Vicuna Checkpoint保存为/content/drive/MyDrive/vicuna_ckpt/7b_v0/vicuna-7b-v0详见 Llama-7b-hf和vicuna-7b-delta-v0合并成vicuna-7b-v0_Spielberg_1的博客-CSDN博客 pip install huggingface_hubfrom huggingface_hub import snapshot_downloadsave_dir/content/drive/MyDrive/pandagpt_ckpt/7b repo_idopenllmplayground/pandagpt_7b_max_len_1024snapshot_download(repo_idrepo_id,local_dirsave_dir, local_dir_use_symlinksFalse)下载PandaGPT权重保存到/content/drive/MyDrive/pandagpt_ckpt/7b 还可以从huggingface网站下载模型等。 三、部署演示 cd /content/drive/MyDrive/PandaGPT/code进入PandaGPT目录打开/PandaGPT/code/web_demo.py文件 传入的imagebind_ckpt_path、vicuna_ckpt_path模型路径修改成你的目录 delta_ckpt_path修改为pandagpt权重路径最后是.pt文件 最后一行share参数改为True这样就可以分享链接在网页上打开了 终于可以运行啦 cd /content/drive/MyDrive/PandaGPT/codeCUDA_VISIBLE_DEVICES0 python web_demo.py 我们看一下效果打开链接看到页面有四个框依次上传图片、音频、视频、热力图 文件上传到模型受网络影响图片可能要等待几秒音频和视频要更长一点有文件上传完成提示就更好了(期待大神更新)。 在[input]框中输入想要的提问点击[submit]等到推理出结果在[chatbot]中对给出回答 传入一张猫咪提问“这是什么颜色”    回答灰色和白色 上传一段雷声提问这是什么声音   上传汉堡图片提问举两个生产商 总结总的来看pandagpt使用文本和图像对进行训练能够实现跨模态的输入的生成文本还是很让人欣喜的感谢分享期待大神继续完善。   遇到的问题 ImportError: LlamaTokenizer requires the SentencePiece library but it was not found in your environment. Checkout the instructions on the installation page of its repo: https://github.com/google/sentencepiece# installation and follow the ones that match your environment. Please note that you may need to restart your runtime after installation. pip install Sentencepiece /mnt/PandaGPT/code/web_demo.py:154: GradioUnusedKwargWarning: You have unused kwarg parameters in Blocks, please remove them: {scale: 4}   with gr.Blocks(scale4) as demo: /mnt/PandaGPT/code/web_demo.py:157: GradioUnusedKwargWarning: You have unused kwarg parameters in Row, please remove them: {scale: 4}   with gr.Row(scale4): /mnt/PandaGPT/code/web_demo.py:163: GradioUnusedKwargWarning: You have unused kwarg parameters in Video, please remove them: {type: file}   video_path gr.Video(typefile, labelVideo) /mnt/PandaGPT/code/web_demo.py:167: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.   chatbot gr.Chatbot().style(height300) /mnt/PandaGPT/code/web_demo.py:171: GradioDeprecationWarning: The style method is deprecated. Please set these arguments in the constructor instead.   user_input gr.Textbox(show_labelFalse, placeholderInput..., lines10).style(containerFalse) /mnt/PandaGPT/code/web_demo.py:173: GradioUnusedKwargWarning: You have unused kwarg parameters in Row, please remove them: {scale: 1}   with gr.Row(scale1): /mnt/PandaGPT/code/web_demo.py:175: GradioUnusedKwargWarning: You have unused kwarg parameters in Row, please remove them: {scale: 1}   with gr.Row(scale1): Running on local URL:  http://0.0.0.0:24000 To create a public link, set shareTrue in launch(). Error: no DISPLAY environment variable specified torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 32.00 MiB (GPU 0; 23.70 GiB total capacity; 7.16 GiB already allocated; 12.69 MiB free; 7.22 GiB reserved in total by PyTorch) If reserved memory is allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF 查看显卡显存被占用杀掉占用进程 Ubuntu下跑Aplaca报错torch.cuda.0utofMemoryError: CUDA out of memory.解决办法查看CUDA占用情况清除GPU缓存_李卓璐的博客-CSDN博客 FileNotFoundError: [Errno 2] No such file or directory: ffprobe pip install ffmpeg 感谢FileNotFoundError: [Errno 2] 没有这样的文件或目录: ffprobe: ffprobe | 那些遇到过的问题 python - FileNotFoundError: No such file or directory: ffprobe FileNotFoundError: No such file or directory: ffmpeg - Stack Overflow python - FileNotFoundError: [Errno 2] No such file or directory: ffprobe: ffprobe - Stack Overflow Our pilot experiments show that         我们的实验显示 reason over   推理         reasons over the users input    对用户的输入进行推理 a set of   一套 understanding/reasoning    理解/推理 knowledeg-grouding description   基于知识的描述 multi-turn conversation 多轮对话 general-purpose  多用途多功能 pilot experiments   中试试验发布之前的实验 perform complex tasks 执行复杂实验 image description generation  生成图像描述 writing stories inspired by videos   创作受视频启发故事 answering questions about audios   回答关于音频的问题 take multimodal input   simultaneously   同时接收多种模式的输入
http://www.pierceye.com/news/760354/

相关文章:

  • 怎么到国外网站去接模具订单做socks5免费代理地址
  • 青海西宁做网站多少钱网页设计与网站规划
  • 铁岭建设网站古典网站案例
  • 织梦html网站地图外国人讲汉语做网站的视频
  • 唯品会购物网站开发项目h5网站建设的具体内容
  • 苏州网站设计电话显示网站建设精美页面
  • 怎么做外汇返佣的网站电商网站 收费与免费
  • 网站建设 计划书繁体网站模板
  • 设计公司做网站有用吗互联网营销的概念
  • 网站中数据库教程网站未续费到期后打开会怎样
  • 企业网站的规划与建设纯静态网站开发
  • 静海集团网站建设网址收录查询
  • 怎样做网站的外链怎么做自己的网站
  • nas 建网站asp.net 做网站源代码
  • 做网站的详细步骤叫别人做网站权重被转移了
  • 做网站好还是网店做网站是怎样赚钱的
  • 国内网站 备案北京模板网站建站
  • 怎么建立网站?婚纱网站策划书模板下载
  • 接单子做网站词类似酷家乐做庭院的网站
  • 道路建设网站专题推广做黄页网站
  • 做展柜平时在哪里网站推广青岛原创工程设计有限公司
  • 网站建设加网络营销营销网站有多种类型
  • 深圳网站网页制作公司深圳品牌网站建设公司有哪些
  • 网站建设中 windows网站后台用什么做
  • 外贸营销型网站建站怎么做便民信息网站
  • 事业单位门户网站建设的建议大连建设工程信息网华宇凤凰城东侧市政管网配套工程
  • 上海网站建设开发哪亚马逊官网首页中国
  • 常德网站建设套餐报价英文网站字体大小
  • 橙色网站logo 配色播放器网站怎么做
  • dw网站制作怎样做网站xml