Follow notebook “Intro_to_Metadataset.ipynb” to use dataset.
Raised ValueError as I iterate over dataset (in Using Dataset section), when only sampled data from ilsvrc_2012 dataset in episodic mode,
Detailed error message: ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (113,) + inhomogeneous part.
To prove that something wrong with ilsvrc_2012 dataset:
modify
python raise ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (113,) + inhomogeneous part.
However, once set use_dag_ontology_list to [False], The code works perfectly.
Follow notebook “Intro_to_Metadataset.ipynb” to use dataset. Raised ValueError as I iterate over dataset (in Using Dataset section), when only sampled data from ilsvrc_2012 dataset in episodic mode, Detailed error message:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (113,) + inhomogeneous part.
To prove that something wrong with ilsvrc_2012 dataset: modify
to
and
when execute
python raise
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (113,) + inhomogeneous part.
However, once set
use_dag_ontology_list
to[False]
, The code works perfectly.any help would be appreciated!