Detectron/detectron/utils/train.py
def add_model_training_inputs(model):#for add input data
    """Load the training dataset and attach the training inputs to the model."""
    logger = logging.getLogger(__name__)
    logger.info('Loading dataset: {}'.format(cfg.TRAIN.DATASETS))
    roidb = combined_roidb_for_training(
        cfg.TRAIN.DATASETS, cfg.TRAIN.PROPOSAL_FILES
    )
    logger.info('{:d} roidb entries'.format(len(roidb)))
    queue_name = model_builder.add_training_inputs(model, roidb=roidb)   #for roidb input_important
    return queue_name
Load the training dataset and attach the training inputs to the model.
Load the training dataset and attach the training inputs to the model.
Load the training dataset and attach the training inputs to the model .
def add_model_training_inputs(model):
    logger = logging.getLogger(__name__)
    logger.info('Loading dataset: {}'.format(cfg.TRAIN.DATASETS))
    roidb = combined_roidb_for_training(
        cfg.TRAIN.DATASETS, cfg.TRAIN.PROPOSAL_FILES
    )
    logger.info('{:d} roidb entries'.format(len(roidb)))
    queue_name = model_builder.add_training_inputs(model, roidb=roidb)   
    return queue_name
def add_model_training_inputs ( model ) : logger = logging . getLogger ( __name__ ) logger . info ( 'Loading dataset: {}' . format ( cfg . TRAIN . DATASETS ) ) roidb = combined_roidb_for_training ( cfg . TRAIN . DATASETS , cfg . TRAIN . PROPOSAL_FILES ) logger . info ( '{:d} roidb entries' . format ( len ( roidb ) ) ) queue_name = model_builder . add_training_inputs ( model , roidb = roidb ) return queue_name
Load the training dataset and attach the training inputs to the model.
Load the training dataset and attach the training inputs to the model .
#for add input data """Load the training dataset and attach the training inputs to the model.""" #for roidb input_important
model