Datasets:
Updating the examples to exclude s3 file keys, since those have now been removed.
Browse filesFiles changed (2)
3 unmodified lines456789103 unmodified lines<option name="autoReloadType" value="SELECTIVE" /></component><component name="ChangeListManager"><list default="true" id="82fe8b44-aff4-4cf4-beac-67321e5b595c" name="Changes" comment="" /><option name="SHOW_DIALOG" value="false" /><option name="HIGHLIGHT_CONFLICTS" value="true" /><option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />3 unmodified lines456789101112133 unmodified lines<option name="autoReloadType" value="SELECTIVE" /></component><component name="ChangeListManager"><list default="true" id="82fe8b44-aff4-4cf4-beac-67321e5b595c" name="Changes" comment=""><change beforePath="$PROJECT_DIR$/../PD3M/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/../PD3M/README.md" afterDir="false" /><change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /></list><option name="SHOW_DIALOG" value="false" /><option name="HIGHLIGHT_CONFLICTS" value="true" /><option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12345678910114 unmodified lines161718192021# Downloading ImagesOnce you have the URLs or S3 file keys from the metadata files, you can download the images through any standard means.#### cURLDownload an image from a url to a local image file with the name `image.png`:```bashcurl -O image.png https://pd12m.s3.us-west-2.amazonaws.com/images/image.png```#### PythonDownload an image from a url to a local image file with the name `image.png`:```python4 unmodified lineswith open('image.png', 'wb') as f:f.write(response.content)```#### img2datasetYou can also use the `img2dataset` tool to quickly download images from a metadata file. The tool is available [here](https://github.com/rom1504/img2dataset). The example below will download all the images to a local `images` directory.```bash1234567891011124 unmodified lines17181920212223# Downloading ImagesOnce you have the URLs from the metadata files, you can download the images through any standard means.#### cURLDownload an image from a url to a local image file with the name `image.png`:```bashcurl -O image.png https://pd12m.s3.us-west-2.amazonaws.com/images/image.png```#### PythonDownload an image from a url to a local image file with the name `image.png`:```python4 unmodified lineswith open('image.png', 'wb') as f:f.write(response.content)```#### img2datasetYou can also use the `img2dataset` tool to quickly download images from a metadata file. The tool is available [here](https://github.com/rom1504/img2dataset). The example below will download all the images to a local `images` directory.```bash
.idea/workspace.xml+4-1
tutorials/images.md+3-1