roboflow; runtimeerror {'错误':{'消息

发布于 2025-02-07 18:52:57 字数 481 浏览 2 评论 0原文

我需要帮助,请

我尝试从Roboflow下载我的数据集,并且我会收到此错误

RunTimeError:{'error':{'Message':'不支持的获取请求。用ID XXXX导出不存在或由于丢失的权限而无法加载。','type':'GraphMethodeXception','hint':'您可以在https:// docs上找到API DOCS .roboflow.com'}}

这是我正确填写的代码示例

from roboflow import Roboflow
rf = Roboflow(api_key="YOUR API KEY", model_format="yolov5")
dataset = rf.workspace().project("YOUR PROJECT").version("YOUR VERSION").download(location="/content/my-datasets")

I need help please

I am trying to download my dataset from roboflow and I am getting this error

RuntimeError: {'error': {'message': 'Unsupported get request. Export with ID xxxx does not exist or cannot be loaded due to missing permissions.', 'type': 'GraphMethodException', 'hint': 'You can find the API docs at https://docs.roboflow.com'}}

here is my code sample that I have correctly filled

from roboflow import Roboflow
rf = Roboflow(api_key="YOUR API KEY", model_format="yolov5")
dataset = rf.workspace().project("YOUR PROJECT").version("YOUR VERSION").download(location="/content/my-datasets")

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

柒七 2025-02-14 18:52:57

错误是在您的导出代码的最后一行中。 .download()不使用定义保存文件的位置,而是为您下载的注释文件选择格式。如果要选择其他位置来保存文件,请更改目录。

单击“导出”时,复制并粘贴了从数据集版本生成的导出代码,并在COLAB笔记本中粘贴该代码。该代码已经格式化以下载您的文件。

The error is in the final line of your export code. .download() is not used to define the location to save the files, but rather to choose the format for the annotation files you download. Change directories if you want to pick a different location to save your files.

Copy and paste the export code generated from your dataset version when you click “export,” and paste that in the Colab notebook. The code is already formatted to download your files.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文