1554a4d7c66a6ea586dd3731c8e5d9bc5dd2dc2e,research/object_detection/meta_architectures/context_rcnn_meta_arch.py,ContextRCNNMetaArch,__init__,#ContextRCNNMetaArch#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,36
Before Change
is_training=is_training,
freeze_batchnorm=freeze_batchnorm)
self._attention_projections = {"key": {},
"val": {},
"query": {},
"feature": {}}
@staticmethod
def get_side_inputs(features):
After Change
is_training=is_training,
freeze_batchnorm=freeze_batchnorm)
self._attention_projections = {"key": context_rcnn_lib.ContextProjection(attention_bottleneck_dimension, freeze_batchnorm),
"val": context_rcnn_lib.ContextProjection(attention_bottleneck_dimension, freeze_batchnorm),
"query": context_rcnn_lib.ContextProjection(attention_bottleneck_dimension, freeze_batchnorm)}
@staticmethod
def get_side_inputs(features):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: tensorflow/models
Commit Name: 1554a4d7c66a6ea586dd3731c8e5d9bc5dd2dc2e
Time: 2020-06-29
Author: kaushikshiv@google.com
File Name: research/object_detection/meta_architectures/context_rcnn_meta_arch.py
Class Name: ContextRCNNMetaArch
Method Name: __init__
Project Name: tensorflow/models
Commit Name: 1554a4d7c66a6ea586dd3731c8e5d9bc5dd2dc2e
Time: 2020-06-29
Author: kaushikshiv@google.com
File Name: research/object_detection/meta_architectures/context_rcnn_meta_arch.py
Class Name: ContextRCNNMetaArch
Method Name: __init__
Project Name: tensorflow/models
Commit Name: 1554a4d7c66a6ea586dd3731c8e5d9bc5dd2dc2e
Time: 2020-06-29
Author: kaushikshiv@google.com
File Name: research/object_detection/meta_architectures/context_rcnn_lib_tf2_test.py
Class Name: ContextRcnnLibTest
Method Name: test_attention_block
Project Name: tensorflow/models
Commit Name: 1554a4d7c66a6ea586dd3731c8e5d9bc5dd2dc2e
Time: 2020-06-29
Author: kaushikshiv@google.com
File Name: research/object_detection/meta_architectures/context_rcnn_lib_tf2_test.py
Class Name: ContextRcnnLibTest
Method Name: test_compute_box_context_attention