跳至内容

Ultralytics 探险家

Community Note ⚠️

As of ultralytics>=8.3.10, Ultralytics explorer support has been deprecated. But don't worry! You can now access similar and even enhanced functionality through Ultralytics 枢纽, our intuitive no-code platform designed to streamline your workflow. With Ultralytics HUB, you can continue exploring, visualizing, and managing your data effortlessly, all without writing a single line of code. Make sure to check it out and take advantage of its powerful features!🚀

Ultralytics 资源管理器截图 1

在 Colab 中打开 Ultralytics Explorer 是一款使用语义搜索、SQL 查询、向量相似性搜索甚至使用自然语言探索 CV 数据集的工具。它也是一个Python API,用于访问相同的功能。



观看: Ultralytics 资源管理器 API|语义搜索、SQL 查询和 Ask AI 功能

安装可选依赖项

资源管理器的部分功能依赖于外部库。这些库会在使用时自动安装。要手动安装这些依赖库,请使用以下命令:

pip install ultralytics[explorer]

提示

Explorer 采用嵌入式/语义搜索和 SQL 查询技术,由LanceDB无服务器矢量数据库提供支持。与传统的内存数据库不同,它是在不牺牲性能的情况下持久化在磁盘上的,因此您可以在本地扩展到 COCO 等大型数据集,而不会耗尽内存。

资源管理器应用程序接口

这是一个用于探索数据集的Python API。它还为 GUI Explorer 提供了动力。您可以使用它创建自己的探索笔记本或脚本,以深入了解您的数据集。

点击此处了解有关资源管理器应用程序接口的更多信息。

图形用户界面资源管理器的使用

The GUI demo runs in your browser allowing you to create embeddings for your dataset and search for similar images, run SQL queries and perform semantic search. It can be run using the following command:

yolo explorer

备注

Ask AI 功能使用 OpenAI 工作,因此当你第一次运行图形用户界面时,系统会提示你设置 OpenAI 的 api 密钥。你可以这样设置 yolo settings openai_api_key="..."

Ultralytics 探索者 OpenAI 集成

常见问题

Ultralytics Explorer 是什么?它如何帮助处理简历数据集?

Ultralytics Explorer is a powerful tool designed for exploring computer vision (CV) datasets through semantic search, SQL queries, vector similarity search, and even natural language. This versatile tool provides both a GUI and a Python API, allowing users to seamlessly interact with their datasets. By leveraging technologies like LanceDB, Ultralytics Explorer ensures efficient, scalable access to large datasets without excessive memory usage. Whether you're performing detailed dataset analysis or exploring data patterns, Ultralytics Explorer streamlines the entire process.

进一步了解Explorer API

如何安装Ultralytics Explorer 的依赖项?

要手动安装Ultralytics Explorer 所需的可选依赖项,可以使用以下方法 pip 指挥:

pip install ultralytics[explorer]

这些依赖关系对于实现语义搜索和 SQL 查询的全部功能至关重要。通过包含由LanceDB 提供支持的库,安装可确保数据库操作保持高效和可扩展,即使是 COCO 这样的大型数据集也不例外。

如何使用图形用户界面版本的Ultralytics Explorer?

使用Ultralytics Explorer 的图形用户界面版本非常简单。安装必要的依赖项后,可使用以下命令启动图形用户界面:

yolo explorer

图形用户界面为创建数据集嵌入、搜索相似图像、运行 SQL 查询和进行语义搜索提供了友好的用户界面。此外,与 OpenAI 的 Ask AI 功能集成后,您还可以使用自然语言查询数据集,从而提高了灵活性和易用性。

有关存储和可扩展性信息,请查看我们的安装说明

Ultralytics Explorer 中的 Ask AI 功能是什么?

Ultralytics Explorer 中的 Ask AI 功能允许用户使用自然语言查询与其数据集进行交互。该功能由 OpenAI 提供支持,用户无需编写 SQL 查询或类似命令,即可提出复杂的问题并获得有见地的回答。要使用此功能,您需要在首次运行图形用户界面时设置 OpenAI API 密钥:

yolo settings openai_api_key="YOUR_API_KEY"

有关该功能的更多信息以及如何集成该功能,请参阅我们的GUI Explorer Usage部分。

我可以在Google Colab 中运行Ultralytics Explorer 吗?

是的,Ultralytics Explorer 可以在Google Colab 中运行,为数据集探索提供了一个方便而强大的环境。您可以先打开提供的 Colab 笔记本,该笔记本已预先配置了所有必要的设置:

在 Colab 中打开

通过这种设置,您可以充分利用Google 的云资源,充分探索您的数据集。更多信息,请参阅Google Colab Guide

📅 Created 9 months ago ✏️ Updated 8 days ago

评论