class_docstr: step 1：paddle.io.Dataset
docstr: step 3：implement __getitem__
docstr_tok: ["step","3\uff1aimplement","__getitem__"]
code: def __getitem__(self, index):
      """
      step 3：implement __getitem__
      """
      data = np.array(self.data[index][0]).astype("float32")
  
      data = self.transforms(data)
  
      label = np.array(self.data[index][1]).astype("int64")
  
      return data, label
  
file_path: PaddleHub/modules/image/classification/SpinalNet_Gemstones/gem_dataset.py
imports: import paddle
  import numpy
  from typing import Callable
  from code.config import config_parameters
label_desc: Use image node_id 2 for calling the GemStones obj's underlying member method code with example usage: obj.__getitem__(index) and returns: data,  label