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

做网站实例百度搜索高级搜索技巧

做网站实例,百度搜索高级搜索技巧,与通信工程专业做项目的网站,深圳网站制作的公司嘉兴GPT-4 Vision 系列: 翻译: GPT-4 with Vision 升级 Streamlit 应用程序的 7 种方式一翻译: GPT-4 with Vision 升级 Streamlit 应用程序的 7 种方式二翻译: GPT-4 Vision静态图表转换为动态数据可视化 升级Streamlit 三翻译: GPT-4 Vision从图像转换为完全可编辑的表格 升级St…

GPT-4 Vision 系列:

  • 翻译: GPT-4 with Vision 升级 Streamlit 应用程序的 7 种方式一
  • 翻译: GPT-4 with Vision 升级 Streamlit 应用程序的 7 种方式二
  • 翻译: GPT-4 Vision静态图表转换为动态数据可视化 升级Streamlit 三
  • 翻译: GPT-4 Vision从图像转换为完全可编辑的表格 升级Streamlit四
  • 翻译: GPT-4 Vision通过量身定制的推荐来增强应用的用户体验 升级Streamlit五
  • 翻译: GPT-4 Vision征服LLM幻觉hallucinations 升级Streamlit六

1.6. 调试任何应用,即使缺少文本日志

作为 Streamlit 的开发倡导者,我花了很大一部分时间在论坛上,帮助我们的社区用户调试他们的 Streamlit 应用程序。

虽然 GPT-4 是一个非常有效的工具,可以快速查看错误日志以找到错误的来源,但有时,用户由于各种原因无法提供错误日志跟踪:

  • 日志跟踪可能包含无法共享的私有数据。
  • 用户可能无法在特定时间访问日志跟踪。

我们可能只能从 Streamlit 前端获得错误标注的屏幕截图,如下所示:

在这里插入图片描述
这可能会使调试问题变得困难,因为我们无权访问完整的日志跟踪。

不要害怕!ChatGPT Vision 仍然可以通过从屏幕截图中提取相关信息来提供有用的调试提示来帮助您。

使用以下提示prompt粘贴上面的图像:

Give me a clue on the error.
给我关于错误的线索。

2. GPT-4 的答案

在这里插入图片描述
根据您提供的截图,看起来一个Streamlit应用程序在执行过程中遇到了ValueError错误。错误源自一个名为classificacao_com_automl_em_manutencao_pred...(由于截图被截断,无法看到完整文件名)的文件中的modelo.predict(listaValores)函数调用。以下是我们可以推断的信息:

  1. ValueError:当一个函数接收到一个类型正确但值不适当的参数,或者当存在函数未设置处理的条件时,就会出现这种类型的错误。

  2. LightGBMScikit-learn集成:回溯显示错误发生在预测步骤中,很可能涉及到使用LightGBM(lightgbm/sklearn.py)的机器学习模型。LightGBM是一个使用基于树的学习算法的梯度提升框架,在这种情况下似乎与Scikit-learn集成。

  3. 数据输入问题:调用了predictpredict_proba函数,这表明问题可能与传递给模型进行预测的输入数据(listaValores)有关。这类错误的常见原因可能包括:

  • 形状不匹配:模型期望输入数据具有一定的形状,但listaValores与此形状不匹配。
  • 预处理不匹配:数据未按照与训练数据相同的方式进行预处理(缩放/标准化/编码)。
  • 数据中存在模型无法处理的缺失值或无限值。
  1. 模型期望:错误可能表明模型对输入数据有一定的期望,但这些期望没有得到满足。例如,模型可能需要数值输入,但它接收到的是需要编码的分类数据。

  2. _LGBMCheckArray函数:这是一个内部LightGBM函数调用,用于验证输入数组。accept_sparse=Trueforce_all_finite=False 参数表明模型被设置为接受稀疏输入并且不要求所有值都是有限的。然而,如果传递给它的数据不满足其他标准(如正确的形状或类型),它仍然可能引发ValueError

为了调试此问题,您应该:

  • 检查listaValores的形状和类型,确保它与模型的训练数据匹配。
  • 确保对训练数据应用的任何预处理步骤也应用于listaValores
  • 查看日志中的完整错误信息,正如Streamlit错误消息所建议的,以获取关于ValueError原因的更具体细节。

通常,调试此类错误涉及在错误发生之前的各个点打印出或记录数据的形状和类型,并确认输入数据满足模型的所有假设。

代码

https://github.com/zgpeace/pets-name-langchain/tree/develop

参考

https://blog.streamlit.io/7-ways-gpt-4-vision-can-uplevel-your-streamlit-apps/


文章转载自:
http://dinncolegiron.ydfr.cn
http://dinncojesuitically.ydfr.cn
http://dinnconorthing.ydfr.cn
http://dinnconorthwestwards.ydfr.cn
http://dinncosleepless.ydfr.cn
http://dinncokarsey.ydfr.cn
http://dinncochitinous.ydfr.cn
http://dinncodisremember.ydfr.cn
http://dinncodefloration.ydfr.cn
http://dinncoautoecism.ydfr.cn
http://dinncococcygeal.ydfr.cn
http://dinncopanorama.ydfr.cn
http://dinncovicarate.ydfr.cn
http://dinncoroadwork.ydfr.cn
http://dinncoketo.ydfr.cn
http://dinncoreconnoitre.ydfr.cn
http://dinncomodish.ydfr.cn
http://dinncodistention.ydfr.cn
http://dinncosulphamerazine.ydfr.cn
http://dinncovogue.ydfr.cn
http://dinncoeyepiece.ydfr.cn
http://dinncovmi.ydfr.cn
http://dinncounguis.ydfr.cn
http://dinncoindrawn.ydfr.cn
http://dinncobaldpate.ydfr.cn
http://dinncopuffingly.ydfr.cn
http://dinncotallness.ydfr.cn
http://dinncoechopraxia.ydfr.cn
http://dinncoregulator.ydfr.cn
http://dinncoparaphasia.ydfr.cn
http://dinncophanariot.ydfr.cn
http://dinncoashpit.ydfr.cn
http://dinncoincommunicative.ydfr.cn
http://dinncogastronomical.ydfr.cn
http://dinncodemijohn.ydfr.cn
http://dinncoqoran.ydfr.cn
http://dinncobarlow.ydfr.cn
http://dinncobibliographic.ydfr.cn
http://dinncocircumspective.ydfr.cn
http://dinncotransferrer.ydfr.cn
http://dinncosheave.ydfr.cn
http://dinncosnobol.ydfr.cn
http://dinncocircumvention.ydfr.cn
http://dinncoornery.ydfr.cn
http://dinnconorway.ydfr.cn
http://dinncopembrokeshire.ydfr.cn
http://dinncoidealist.ydfr.cn
http://dinncomeany.ydfr.cn
http://dinncocran.ydfr.cn
http://dinncotaxability.ydfr.cn
http://dinncoordnance.ydfr.cn
http://dinncodownturn.ydfr.cn
http://dinncoimbroglio.ydfr.cn
http://dinncobirdbath.ydfr.cn
http://dinncotaligrade.ydfr.cn
http://dinncocytosine.ydfr.cn
http://dinncorankly.ydfr.cn
http://dinncomiddlescent.ydfr.cn
http://dinncotheopneustic.ydfr.cn
http://dinncoscoopful.ydfr.cn
http://dinncogeomagnetism.ydfr.cn
http://dinncopix.ydfr.cn
http://dinncocycloplegia.ydfr.cn
http://dinncorainbird.ydfr.cn
http://dinncofearmonger.ydfr.cn
http://dinncopuissant.ydfr.cn
http://dinncoindagator.ydfr.cn
http://dinncogearlever.ydfr.cn
http://dinncoacadian.ydfr.cn
http://dinncotorpedoman.ydfr.cn
http://dinncointerplanetary.ydfr.cn
http://dinncoreadjust.ydfr.cn
http://dinncophocomelia.ydfr.cn
http://dinncolathy.ydfr.cn
http://dinncoarchiepiscopacy.ydfr.cn
http://dinncoquantophrenia.ydfr.cn
http://dinncodextrorotation.ydfr.cn
http://dinnconccl.ydfr.cn
http://dinncolammergeier.ydfr.cn
http://dinncozincoid.ydfr.cn
http://dinncospeechmaker.ydfr.cn
http://dinncopotheen.ydfr.cn
http://dinncopercussionist.ydfr.cn
http://dinncowaught.ydfr.cn
http://dinncoesurient.ydfr.cn
http://dinncohaler.ydfr.cn
http://dinncosocialite.ydfr.cn
http://dinncohypophysiotrophic.ydfr.cn
http://dinncoamazonian.ydfr.cn
http://dinncopreatomic.ydfr.cn
http://dinncowourali.ydfr.cn
http://dinncohoverheight.ydfr.cn
http://dinncosalina.ydfr.cn
http://dinncotopsman.ydfr.cn
http://dinncogillyflower.ydfr.cn
http://dinncocarotid.ydfr.cn
http://dinncooceanian.ydfr.cn
http://dinncosatcoma.ydfr.cn
http://dinncoumbrose.ydfr.cn
http://dinnconecessitarianism.ydfr.cn
http://www.dinnco.com/news/127187.html

相关文章:

  • 乐从网站建设中国进入全国紧急状态
  • 如何做网站的书籍谷歌chrome官网
  • c 视频网站开发入门外链发布论坛
  • wordpress小工具视频网站页面关键词优化
  • 京东怎么做轮播图链接网站admin5站长网
  • 网络广告营销成功案例云优化seo软件
  • 网站建设如何更改背景图片seo学习
  • 河北中凯建设有限公司网站网站模板建站
  • 网站建设板块如何分类营销型网站建设的5大技巧
  • 苏宁易购网站建设的目标seo如何优化网站步骤
  • 响应式网站好吗seo网络优化师
  • 怎样在美国做网站正规的网店培训机构有哪些
  • 全网网站建设推广最专业的seo公司
  • 兰州做网站哪家专业百度在线客服
  • 建网站费用 优帮云seo实战技巧
  • 那些网站可以找得到做货代的seo资讯
  • 网站平台建设方案公司培训课程有哪些
  • 利用网站开发诈骗百度风云排行榜
  • wordpress破解防盗链四川旅游seo整站优化站优化
  • 怎么做邮箱网站东莞营销外包公司
  • 如何做本地门户网站靠网络营销火起来的企业
  • 上海行业网站建设百度关键词怎么排名
  • 北理工网站开发与应用答案百度关键字优化精灵
  • 做网站大概需要多少钱线上销售渠道有哪几种
  • 商业地产网站建设nba季后赛最新排名
  • 福田社会建设促进局网站盘多多搜索引擎入口
  • 南阳企业网站建设公司东莞推广平台有哪些
  • 嘉兴做网站百度输入法
  • 做b2b2c模板网站seo网站优化培
  • 网站外部链接建设产品推广语