> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/roboflow/roboflow-hi/datasets/dataset-versions/exporting-data.md).

# एक Dataset Version एक्सपोर्ट करें

आप किसी भी समय Roboflow से डेटा निर्यात कर सकते हैं। आप Roboflow वेब इंटरफ़ेस या हमारे Python package का उपयोग करके डेटा निर्यात कर सकते हैं।

डेटा निर्यात करने के लिए, पहले Roboflow dashboard में एक dataset version जनरेट करें। आप इसे अपने project से संबद्ध "Versions" पेज पर कर सकते हैं।

डेटासेट जनरेट करने के बाद, अपने dataset version के आगे "Export" पर क्लिक करें:

<figure><img src="/files/5c92f67bcd75bf1814a63e919f897f2dc4a25906" alt="" width="563"><figcaption></figcaption></figure>

आप अपना डेटा कई प्रकार के formats में डाउनलोड कर सकते हैं। समर्थित export formats की पूरी सूची हमारी [formats directory](https://roboflow.com/formats).

एक export format चुनने के बाद, आप डेटा को या तो एक `.zip` फ़ाइल के रूप में, या एक `curl` कमांड लाइन से डाउनलोड करने के लिए लिंक के रूप में चुन सकते हैं।

![अपने डिवाइस पर .zip फ़ोल्डर में Export करना।](/files/48ed20cce33410330466ef09a1937ab685d3cb44)

{% hint style="warning" %}
*यह `curl` और Python code में एक निजी key होगी जो आपके खाते के लिए अद्वितीय है। इस key को साझा न करें!*
{% endhint %}

![जब आप "Continue" चुनते हैं, तो दिखाई देने वाली "show download code" विंडो।](/files/4765e4ec9ff2728b2a16d7f394f79751e549919a)

## नोट्स

Dataset versions को कंप्यूटर विज़न models के training data के रूप में उपयोग करने के लिए डिज़ाइन किया गया है। इसलिए, हम models के training अनुभव और performance को बेहतर बनाने के लिए कुछ optimizations करते हैं।

### Image Compression

Training धीमी होने से रोकने के लिए, हम images को ऐसे स्तर पर compress करते हैं जो training speed और पर्याप्त model performance के लिए आवश्यक resolution के बीच संतुलन बनाए रखता है।

यदि आप मूल गुणवत्ता वाली image डाउनलोड करना चाहते हैं, तो अपने dataset में किसी image पर क्लिक करके और "Download Image" चुनकर ऐसा कर सकते हैं।

<figure><img src="/files/fd2320eed723d6e1bbe5fd288474a9236ecd68f9" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
आप अपने images को प्रोग्रामेटिक रूप से भी एक्सेस कर सकते हैं [Image Details API](/developer/rest-api/manage-images/get-details-about-an-image.md)। यह `image.urls.original` property मूल गुणवत्ता वाली image के लिंक को दर्शाती है।
{% endhint %}

यदि आप अपने पूरे dataset की मूल गुणवत्ता वाली images डाउनलोड करना चाहते हैं, तो आप [Image Search API](/developer/rest-api/manage-images/get-details-about-an-image.md)का उपयोग करके ऐसा कर सकते हैं। इसे करने के लिए यहाँ एक code snippet दिया गया है:

```python
import os
import requests
from roboflow import Roboflow

rf = Roboflow("YOUR_ROBOFLOW_API_KEY")

project = rf.project("my-dataset-id")

records = []

for page in project.search_all(
    offset = 0,
    limit = 100,
    in_dataset = True,
    batch = False,
    fields = ["id", "name", "owner"],
):
    records.extend(page)

print(f"{len(records)} छवियाँ मिलीं")

for record in records:
        base_url = "https://source.roboflow.com"
        url = f"{base_url}/{record['owner']}/{record['id']}/original.jpg"

        try:
            response = requests.get(url)
            response.raise_for_status()

            # अस्थायी directory में सहेजें
            save_path = os.path.join('temp_images', record['name'])
            with open(save_path, 'wb') as f:
                f.write(response.content)

            print(f"डाउनलोड किया गया: {record['name']}")

        except requests.exceptions.RequestException as e:
            print(f"छवि डाउनलोड करने में त्रुटि: {e}")

```

### स्वीकृत वर्ण

ट्रेनिंग के दौरान समस्याएँ उत्पन्न होने से रोकने के लिए, हम upload/import और export दोनों समय class names को sanitize करते हैं। export पर, हम निम्नलिखित करते हैं:

* Class names को ASCII में बदला जाता है
  * जहाँ संभव हो, वर्णों को anglicize किया जाता है (उदा.: `ü` को `u`)
  * अन्यथा, उन्हें डैश (`-`)

{% hint style="info" %}
[Class name sanitization upload के दौरान भी होती है](/roboflow/roboflow-hi/datasets/adding-data.md#class-name-sanitization)
{% endhint %}

### Python Package के साथ Export करें

आप Python package के साथ versions जनरेट भी कर सकते हैं और datasets export भी कर सकते हैं।

{% content-ref url="/spaces/e5GEiPeDoFksvZv1vH3A/pages/0zziwbyAo255wXPCoF3O" %}
[Create a Dataset Version](/developer/python-sdk/create-a-dataset-version.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-hi/datasets/dataset-versions/exporting-data.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
