我想使用tensor_flow_datasets集合的'stanford_dogs'数据集。 它在这里列出: https://www.tensorflow.org/datasets/catalog/stanford_dogs
,但是在尝试加载时,未在可用数据集中列出。 如何加载“ Stanford_Dogs”?
import tensorflow_datasets as tfds
SPLIT_WEIGHTS = (8, 1, 1)
splits = tfds.Split.TRAIN.subsplit(weighted=SPLIT_WEIGHTS)
(raw_train, raw_validation, raw_test), metadata = tfds.load(name="stanford_dogs",
with_info=True,
split=list(splits),
batch_size=-1,
as_supervised=True)