import tensorflow as tf

        feed_dict={net.data: blobs['data'], net.im_info: blobs['im_info'], net.keep_prob: 1.0}
    else:
        feed_dict={net.data: blobs['data'], net.rois: blobs['rois'], net.keep_prob: 1.0}

    run_options = None
    run_metadata = None
    if cfg.TEST.DEBUG_TIMELINE:
        run_options = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE)
        run_metadata = tf.RunMetadata()

    #theta_tensor = tf.get_default_graph().get_tensor_by_name('spt_trans_theta')
    cls_score, cls_prob, bbox_pred, rois = sess.run([net.get_output('cls_score'),
    net.get_output('cls_prob'), net.get_output('bbox_pred'), net.get_output('rois')],
                                                    feed_dict=feed_dict,
                                                    options=run_options,
                                                    run_metadata=run_metadata)
