class_docstr: Set gt boxes and gt labels for train.
  
  Args:
      attrbox(Callable): Method for get detection attributes for images.
      category_to_id_map(dict): Mapping relations of category and id for images.
      img(dict): Input for detection model.
  
  Returns:
      img(dict): Set specific value on the attributes of 'gt boxes' and 'gt labels' for input.
class_docstr_tok: ["Set","gt","boxes","and","gt","labels","for","train",".","Args",":","attrbox","(","Callable",")",":","Method","for","get","detection","attributes","for","images",".","category_to_id_map","(","dict",")",":","Mapping","relations","of","category","and","id","for","images",".","img","(","dict",")",":","Input","for","detection","model",".","Returns",":","img","(","dict",")",":","Set","specific","value","on","the","attributes","of","'gt","boxes","'","and","'gt","labels","'","for","input","."]
code: def __init__(self, attrbox: Callable, category_to_id_map: dict):
      self.attrbox = attrbox
      self.category_to_id_map = category_to_id_map
  
imports: import os
  import copy
  from typing import Callable
  import paddle
  import numpy
  from paddlehub.env import DATA_HOME
  from pycocotools.coco import COCO
label_desc: Use image node_id 1 to create a new GTAnotations object  with example: obj = GTAnotations(attrbox, category_to_id_map)