【问题标题】:Vision product search indexing time视觉产品搜索索引时间
【发布时间】:2020-04-29 23:19:56
【问题描述】:

我有一个关于 Google Vision 产品搜索的问题。
为了测试 API,我从 Kaggle 数据集中上传了 700 件产品和 700 张图片:每张 300x800 像素。
API listProductSets 表明索引需要一些时间,并且每小时都会增加,您可以在以下错误消息中注意到:

产品集 [[{".../testProductSet","displayName":"测试产品 set","indexTime":{"seconds":"1578776083","nanos":909481355},"indexError":{"details":[],"code":0,"message":""}}] ,null,null]

产品集 [[{"name":"...testProductSet","displayName":"测试产品 set","indexTime":{"seconds":"1578779673","nanos":63308579},"indexError":{"details":[],"code":0,"message":""}}] ,null,null]

这是否意味着索引需要更多时间或表明 API 中存在错误?

索引已连续 2 天进行,仍然没有图像索引。

【问题讨论】:

    标签: google-cloud-platform google-cloud-vision google-product-search


    【解决方案1】:

    索引时间表示上次索引的时间。如果时间不断增加,这意味着它仍然是最新的。

    您如何检查图像是否已编入索引?

    【讨论】:

    • 感谢指出。是的,索引是由服务执行的。我对 listReferenceImages api 方法提出了错误的请求并得到了空结果。
    猜你喜欢
    • 2020-02-22
    • 2021-12-30
    • 2021-10-23
    • 1970-01-01
    • 2019-07-05
    • 1970-01-01
    • 1970-01-01
    • 2019-02-14
    • 2013-12-12
    相关资源
    最近更新 更多