Open Dataset
Data Structure ?
29.45M
Data Structure ?
*The above analysis is the result extracted and analyzed by the system, and the specific actual data shall prevail.
README.md
Fashion - MNISTは、ザランドの商品画像のデータセットです。訓練セットには60,000個のサンプル、テストセットには10,000個のサンプルが含まれています。各サンプルは28x28のグレースケール画像で、10種類のラベルのうちの1つに関連付けられています。私たちは、Fashion - MNISTを機械学習アルゴリズムのベンチマーク用に、元のMNISTデータセットの直接的な代替として使用することを意図しています。画像サイズや訓練データとテストデータの分割構造は同じです。
使い方
データの取得
ラベル
各訓練サンプルとテストサンプルは、以下のラベルのいずれかに割り当てられます。
ラベル | 説明 |
---|---|
0 | トップス(Tシャツなど) |
1 | ズボン |
2 | プルオーバー |
3 | ドレス |
4 | コート |
5 | サンダル |
6 | シャツ |
7 | スニーカー |
8 | バッグ |
9 | アンクルブーツ |
使い方
Pythonでデータを読み込む(NumPyが必要)
このリポジトリのutils/mnist_reader
を使用します。
import mnist_reader X_train, y_train = mnist_reader.load_mnist('data/fashion', kind='train') X_test, y_test = mnist_reader.load_mnist('data/fashion', kind='t10k')
Tensorflowでデータを読み込む
データをダウンロードし、data/fashion
に配置してください。そうしないと、Tensorflowは元のMNISTをダウンロードして使用します。
from tensorflow.examples.tutorials.mnist import input_data data = input_data.read_data_sets('data/fashion') data.train.next_batch(BATCH_SIZE)
注:Tensorflowのread_data_sets
にはソースURLを渡すことができます。以下のように使用できます。
data = input_data.read_data_sets('data/fashion', source_url='http://fashion - mnist.s3 - website.eu - central - 1.amazonaws.com/')
また、tf.keras
(高レベルAPI)を使用してFashion - MNISTを訓練する公式のTensorflowチュートリアルはこちらで見ることができます。
他の機械学習ライブラリでデータを読み込む
現時点では、以下のライブラリにはFashion - MNISTが組み込みのデータセットとして含まれています。したがって、自分でFashion - MNISTをダウンロードする必要はありません。それぞれのAPIに従って使用すればOKです。
他のオープンソースの機械学習パッケージにプルリクエストを送り、Fashion - MNISTデータセットのサポートを向上させることを歓迎します。
他の言語でデータを読み込む
機械学習コミュニティで最も人気のあるデータセットの1つであるMNISTは、多くの異なる言語でローダーを実装するきっかけになりました。これらのローダーはFashion - MNISTデータセットでも使用できます。(注:最初に解凍する必要がある場合があります。)現時点では、これらのローダーをすべてFashion - MNISTでテストしていません。
引用
このデータセットを引用する場合は、以下の引用形式を使用してください。
@online{xiao2017/online, author = {Han Xiao and Kashif Rasul and Roland Vollgraf}, title = {Fashion - MNIST: a Novel Image Dataset for Benchmarking Machine Learning Algorithms}, date = {2017 - 08 - 28}, year = {2017}, eprintclass = {cs.LG}, eprinttype = {arXiv}, eprint = {cs.LG/1708.07747}, }
The dataset is currently being organized and other channels have been prepared for you. Please use them
The dataset is currently being organized and other channels have been prepared for you. Please use them
- Share your thoughts
ALL
Data usage instructions: h1>
I. Data Source and Display Explanation:
- 1. The data originates from internet data collection or provided by service providers, and this platform offers users the ability to view and browse datasets.
- 2. This platform serves only as a basic information display for datasets, including but not limited to image, text, video, and audio file types.
- 3. Basic dataset information comes from the original data source or the information provided by the data provider. If there are discrepancies in the dataset description, please refer to the original data source or service provider's address.
II. Ownership Explanation:
- 1. All datasets on this site are copyrighted by their original publishers or data providers.
III. Data Reposting Explanation:
- 1. If you need to repost data from this site, please retain the original data source URL and related copyright notices.
IV. Infringement and Handling Explanation:
- 1. If any data on this site involves infringement, please contact us promptly, and we will arrange for the data to be taken offline.
- 1. The data originates from internet data collection or provided by service providers, and this platform offers users the ability to view and browse datasets.
- 2. This platform serves only as a basic information display for datasets, including but not limited to image, text, video, and audio file types.
- 3. Basic dataset information comes from the original data source or the information provided by the data provider. If there are discrepancies in the dataset description, please refer to the original data source or service provider's address.
- 1. All datasets on this site are copyrighted by their original publishers or data providers.
- 1. If you need to repost data from this site, please retain the original data source URL and related copyright notices.
- 1. If any data on this site involves infringement, please contact us promptly, and we will arrange for the data to be taken offline.