imagenet_v2
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
ImageNet-v2 là bộ thử nghiệm ImageNet (10 bộ mỗi lớp) được thu thập bằng cách tuân thủ chặt chẽ giao thức ghi nhãn ban đầu. Mỗi hình ảnh đã được gắn nhãn bởi ít nhất 10 nhân viên MTurk, có thể nhiều hơn và tùy thuộc vào chiến lược được sử dụng để chọn hình ảnh nào sẽ đưa vào trong số 10 hình ảnh được chọn cho lớp nhất định, có ba phiên bản khác nhau của tập dữ liệu. Vui lòng tham khảo phần bốn của bài viết để biết thêm chi tiết về cách biên soạn các biến thể khác nhau.
Không gian nhãn giống như của ImageNet2012. Mỗi ví dụ được biểu diễn dưới dạng một từ điển với các khóa sau:
- 'hình ảnh': Hình ảnh, một tenxơ (H, W, 3).
- 'nhãn': Một số nguyên trong phạm vi [0, 1000).
'file_name': Một thông tin duy nhất xác định ví dụ trong tập dữ liệu.
Trang chủ : https://github.com/modestyachts/ImageNetV2
Mã nguồn : tfds.datasets.imagenet_v2.Builder
Phiên bản :
-
1.0.0
: Phiên bản đầu tiên. -
2.0.0
: Đã cập nhật tệp. -
3.0.0
(mặc định): Sửa file_name, từ đường dẫn tuyệt đối đến đường dẫn liên quan đến thư mục dữ liệu, tức là: "class_id/filename.jpg". -
3.1.0
: URL mới cho tài nguyên từ Ôm Mặt.
Tự động lưu vào bộ nhớ đệm ( tài liệu ): Không
Chia tách :
Tách ra | Ví dụ |
---|
'test' | 10.000 |
FeaturesDict({
'file_name': Text(shape=(), dtype=string),
'image': Image(shape=(None, None, 3), dtype=uint8),
'label': ClassLabel(shape=(), dtype=int64, num_classes=1000),
})
Tính năng | Lớp học | Hình dạng | loại D | Sự miêu tả |
---|
| Tính năngDict | | | |
tên_tệp | Chữ | | sợi dây | |
hình ảnh | Hình ảnh | (Không, Không, 3) | uint8 | |
nhãn | Nhãn lớp | | int64 | |
@inproceedings{recht2019imagenet,
title={Do ImageNet Classifiers Generalize to ImageNet?},
author={Recht, Benjamin and Roelofs, Rebecca and Schmidt, Ludwig and Shankar, Vaishaal},
booktitle={International Conference on Machine Learning},
pages={5389--5400},
year={2019}
}
imagenet_v2/matched-tần số (cấu hình mặc định)
Kích thước tải xuống : 1.18 GiB
Kích thước tập dữ liệu : 1.16 GiB
Hình ( tfds.show_examples ):

imagenet_v2/ngưỡng-0.7
Kích thước tải xuống : 1.16 GiB
Kích thước tập dữ liệu : 1.15 GiB
Hình ( tfds.show_examples ):

imagenet_v2/topimages
Kích thước tải xuống : 1.16 GiB
Kích thước tập dữ liệu : 1.14 GiB
Hình ( tfds.show_examples ):

Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-06-01 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-06-01 UTC."],[],[],null,["# imagenet_v2\n\n\u003cbr /\u003e\n\n- **Description**:\n\nImageNet-v2 is an ImageNet test set (10 per class) collected by closely\nfollowing the original labelling protocol. Each image has been labelled by at\nleast 10 MTurk workers, possibly more, and depending on the strategy used to\nselect which images to include among the 10 chosen for the given class there are\nthree different versions of the dataset. Please refer to section four of the\npaper for more details on how the different variants were compiled.\n\nThe label space is the same as that of ImageNet2012. Each example is represented\nas a dictionary with the following keys:\n\n- 'image': The image, a (H, W, 3)-tensor.\n- 'label': An integer in the range \\[0, 1000).\n- 'file_name': A unique sting identifying the example within the dataset.\n\n- **Homepage** :\n \u003chttps://github.com/modestyachts/ImageNetV2\u003e\n\n- **Source code** :\n [`tfds.datasets.imagenet_v2.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/imagenet_v2/imagenet_v2_dataset_builder.py)\n\n- **Versions**:\n\n - `1.0.0`: Initial version.\n - `2.0.0`: Files updated.\n - **`3.0.0`** (default): Fix file_name, from absolute path to path relative to data directory, ie: \"class_id/filename.jpg\".\n - `3.1.0`: New URLs for resources from Hugging Face.\n- **Auto-cached**\n ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):\n No\n\n- **Splits**:\n\n| Split | Examples |\n|----------|----------|\n| `'test'` | 10,000 |\n\n- **Feature structure**:\n\n FeaturesDict({\n 'file_name': Text(shape=(), dtype=string),\n 'image': Image(shape=(None, None, 3), dtype=uint8),\n 'label': ClassLabel(shape=(), dtype=int64, num_classes=1000),\n })\n\n- **Feature documentation**:\n\n| Feature | Class | Shape | Dtype | Description |\n|-----------|--------------|-----------------|--------|-------------|\n| | FeaturesDict | | | |\n| file_name | Text | | string | |\n| image | Image | (None, None, 3) | uint8 | |\n| label | ClassLabel | | int64 | |\n\n- **Supervised keys** (See\n [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):\n `('image', 'label')`\n\n- **Citation**:\n\n @inproceedings{recht2019imagenet,\n title={Do ImageNet Classifiers Generalize to ImageNet?},\n author={Recht, Benjamin and Roelofs, Rebecca and Schmidt, Ludwig and Shankar, Vaishaal},\n booktitle={International Conference on Machine Learning},\n pages={5389--5400},\n year={2019}\n }\n\nimagenet_v2/matched-frequency (default config)\n----------------------------------------------\n\n- **Download size** : `1.18 GiB`\n\n- **Dataset size** : `1.16 GiB`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\nimagenet_v2/threshold-0.7\n-------------------------\n\n- **Download size** : `1.16 GiB`\n\n- **Dataset size** : `1.15 GiB`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples... \n\nimagenet_v2/topimages\n---------------------\n\n- **Download size** : `1.16 GiB`\n\n- **Dataset size** : `1.14 GiB`\n\n- **Figure**\n ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):\n\n- **Examples** ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):\n\nDisplay examples..."]]