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

做网页跳转网站wordpress调整配置

做网页跳转网站,wordpress调整配置,网站租空间多少钱一年,crm客户管理系统全称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://wiki.neutronadmin.com/news/401826/

相关文章:

  • 永久免费手机网站自助建站大渡口网站建设哪家好
  • 城阳做网站公司专利协会网站建设方案
  • 网站平台设计费用网站 自助建站
  • 优惠券网站做淘客违规吗搜狗站长平台验证不了
  • 北京网站seo推广nodejs做静态网站
  • 少儿编程免费网站网站多少钱一年
  • 加强统计局网站的建设和管理云南建设网站公司
  • 定制设计的网站南京那些公司做网站
  • 网站报价清单做变性手术视频网站
  • 网站建设psd模板商城做网站哪家好
  • wordpress站点地图优化泸州网站开发公司
  • 京东物流网站wordpress主页不显示博客文章
  • 网站备案人的法律风险手机网站设计公司哪家专业
  • 购物网站英文介绍余姚网站建设设计
  • sqlite做网站数据库阿里云怎么购买域名
  • 做flash网站优秀网页设计作品网站
  • 专业网站建设公司哪里济南兴田德润什么活动群晖ds218+做网站
  • 大连企业网站建设定制wordpress网站的彻底清理
  • 电商平台网站广告设计学校
  • 株洲网站建设企业泉州网站建设培训
  • 汉口专业网站推广公司怎样做彩票网站代理
  • 昆明移动网站建设wordpress cloudflare
  • 做网站的系统咸宁市做网站
  • 酒店网站开发协议深圳宣传片
  • 伊春住房和城乡建设网站营销方案
  • 百度文库 旅游网站建设方案书室内设计平面图纸
  • 北京企业网站建站哪家好精准营销系统价值
  • 南通网站建设方案托管wordpress 小工具添加图片大小
  • 如何免费创建一个自己的网站购物网站主要的功能模块
  • flashfxp发布网站做网站后期为什么续费