MCPcopy Create free account

hub / github.com/Jingkang50/OpenPSG / types & classes

Types & classes81 in github.com/Jingkang50/OpenPSG

↓ 14 callersClassResult
little container class for holding the detection result od: object detector, rm: rel model
openpsg/models/relation_heads/approaches/relation_util.py:20
↓ 14 callersClassVisualizer
Visualizer that draws data about detection/segmentation on images. It contains methods like `draw_{text,box,circle,line,binary_mask,polygon}`
openpsg/utils/vis_tools/detectron_viz.py:24
↓ 4 callersClassMaskHeadSmallConv
Simple convolutional head, using group norm. Upsampling is done using a FPN approach
openpsg/models/relation_heads/psgtr_head.py:1213
↓ 3 callersClassPSGClsDataset
ce7454/dataset.py:44
↓ 3 callersClassPointNetFeat
openpsg/models/relation_heads/approaches/pointnet.py:90
↓ 2 callersClassArbitraryTree
openpsg/models/relation_heads/approaches/vctree_util.py:253
↓ 2 callersClassBiTreeLSTM_Backward
from root to leaves.
openpsg/models/relation_heads/approaches/treelstm_util.py:219
↓ 2 callersClassBiTreeLSTM_Foreward
From leaves to root.
openpsg/models/relation_heads/approaches/treelstm_util.py:93
↓ 2 callersClassBidirectionalTreeLSTM
Bidirectional Tree LSTM Contains one forward lstm(leaves to root) and one backward lstm(root to leaves) Dropout mask will be generated one time
openpsg/models/relation_heads/approaches/treelstm_util.py:35
↓ 2 callersClassConvert
ce7454/dataset.py:15
↓ 2 callersClassEvaluator
ce7454/evaluator.py:8
↓ 2 callersClassMHAttentionMap
This is a 2D attention module, which only returns the attention softmax (no multiplication by value)
openpsg/models/relation_heads/psgtr_head.py:1288
↓ 2 callersClassMLP
Very simple multi-layer perceptron (also called FFN) Copied from hoitr.
openpsg/models/relation_heads/psgtr_head.py:1193
↓ 2 callersClassMaskHeadSmallConv
Simple convolutional head, using group norm. Upsampling is done using a FPN approach
openpsg/models/relation_heads/detr4seg_head.py:792
↓ 2 callersClassModelOutput
predict.py:13
↓ 2 callersClassMultiLayer_BTreeLSTM
Multilayer Bidirectional Tree LSTM Each layer contains one forward lstm(leaves to root) and one backward lstm(root to leaves)
openpsg/models/relation_heads/approaches/treelstm_util.py:17
↓ 2 callersClassOneDirectionalTreeLSTM
One Way Tree LSTM direction = forward | backward
openpsg/models/relation_heads/approaches/treelstm_util.py:57
↓ 2 callersClassTreeLSTM_IO
openpsg/models/relation_heads/approaches/treelstm_util.py:348
↓ 1 callersClassBaseTrainer
ce7454/trainer.py:14
↓ 1 callersClassBiTree
openpsg/models/relation_heads/approaches/vctree_util.py:391
↓ 1 callersClassDecoderRNN
openpsg/models/relation_heads/approaches/motif.py:71
↓ 1 callersClassDecoderTreeLSTM
openpsg/models/relation_heads/approaches/vctree.py:23
↓ 1 callersClassDirectionAwareMessagePassing
Adapted from the [CVPR 2020] GPS-Net: Graph Property Scensing Network for Scene Graph Generation]
openpsg/models/relation_heads/approaches/dmp.py:23
↓ 1 callersClassFrequencyBias
The goal of this is to provide a simplified way of computing P(predicate. | obj1, obj2, img).
openpsg/models/relation_heads/approaches/motif.py:22
↓ 1 callersClassIMPContext
openpsg/models/relation_heads/approaches/imp.py:17
↓ 1 callersClassLSTMContext
Modified from neural-motifs to encode contexts for each objects.
openpsg/models/relation_heads/approaches/motif.py:248
↓ 1 callersClassMHAttentionMap
This is a 2D attention module, which only returns the attention softmax (no multiplication by value)
openpsg/models/relation_heads/detr4seg_head.py:867
↓ 1 callersClassMHAttentionMap
This is a 2D attention module, which only returns the attention softmax (no multiplication by value)
openpsg/models/relation_heads/psgformer_head.py:1227
↓ 1 callersClassMLP
Very simple multi-layer perceptron (also called FFN) Copied from hoitr.
openpsg/models/relation_heads/detr4seg_head.py:772
↓ 1 callersClassMLP
Very simple multi-layer perceptron (also called FFN) Copied from hoitr.
openpsg/models/relation_heads/psgformer_head.py:1132
↓ 1 callersClassMaskHeadSmallConv
Simple convolutional head, using group norm. Upsampling is done using a FPN approach
openpsg/models/relation_heads/psgformer_head.py:1152
↓ 1 callersClassPostProcessor
Obtain the final relation information for evaluation.
openpsg/models/relation_heads/approaches/relation_util.py:98
↓ 1 callersClassRelationSampler
openpsg/models/relation_heads/approaches/sampling.py:21
↓ 1 callersClassSGMeanRecall
openpsg/evaluation/sgg_metrics.py:590
↓ 1 callersClassSGPairAccuracy
openpsg/evaluation/sgg_metrics.py:472
↓ 1 callersClassSGRecall
openpsg/evaluation/sgg_metrics.py:64
↓ 1 callersClassSTN2d
openpsg/models/relation_heads/approaches/pointnet.py:17
↓ 1 callersClassSTNkd
openpsg/models/relation_heads/approaches/pointnet.py:53
↓ 1 callersClassVCTreeLSTMContext
Modified from neural-motifs to encode contexts for each objects.
openpsg/models/relation_heads/approaches/vctree.py:99
ClassBCEFocalLoss
openpsg/models/losses/seg_losses.py:105
ClassBasicBiTree
openpsg/models/relation_heads/approaches/vctree_util.py:150
ClassDETR4seg
openpsg/models/frameworks/detr4seg.py:39
ClassDemoPostProcessor
This API is used for obtaining the final information for demonstrating the scene graphs. It's usually invoked after the PostProcessor. Especi
openpsg/models/relation_heads/approaches/relation_util.py:189
ClassDualTransformer
Modify the DETR transformer with two decoders. Args: encoder (`mmcv.ConfigDict` | Dict): Config of TransformerEncoder. Defaul
openpsg/models/frameworks/dual_transformer.py:9
ClassGPSHead
openpsg/models/relation_heads/gps_head.py:20
ClassHTriMatcher
openpsg/models/relation_heads/approaches/matcher.py:14
ClassIMPHead
openpsg/models/relation_heads/imp_head.py:18
ClassIdMatcher
openpsg/models/relation_heads/approaches/matcher.py:129
ClassLSTMRanker
openpsg/models/relation_heads/approaches/relation_ranker.py:45
ClassLinearRanker
openpsg/models/relation_heads/approaches/relation_ranker.py:109
ClassLoadPanopticSceneGraphAnnotations
openpsg/datasets/pipelines/loading.py:79
ClassLoadSceneGraphAnnotations
openpsg/datasets/pipelines/loading.py:30
ClassLogRegression
openpsg/models/losses/seg_losses.py:79
ClassMotifHead
openpsg/models/relation_heads/motif_head.py:20
ClassMultilabelCrossEntropy
openpsg/models/losses/seg_losses.py:47
ClassMultilabelLogRegression
openpsg/models/losses/seg_losses.py:62
ClassPSGFormerHead
openpsg/models/relation_heads/psgformer_head.py:27
ClassPSGTr
openpsg/models/frameworks/psgtr.py:74
ClassPSGTrHead
openpsg/models/relation_heads/psgtr_head.py:30
ClassPanopticSceneGraphDataset
openpsg/datasets/psg.py:19
ClassPanopticSceneGraphFormatBundle
openpsg/datasets/pipelines/formatting.py:21
ClassPointNetCls
openpsg/models/relation_heads/approaches/pointnet.py:144
ClassPointNetDenseCls
openpsg/models/relation_heads/approaches/pointnet.py:166
ClassPredictor
predict.py:17
ClassRelRandomCrop
Random crop the image & bboxes & masks & scene relations.
openpsg/datasets/pipelines/rel_randomcrop.py:9
ClassRelationHead
The basic class of all the relation head.
openpsg/models/relation_heads/relation_head.py:18
ClassRelsFormatBundle
Transfer gt_rels to tensor too.
openpsg/datasets/pipelines/loading.py:19
ClassSGAccumulateRecall
openpsg/evaluation/sgg_metrics.py:854
ClassSGNoGraphConstraintRecall
openpsg/evaluation/sgg_metrics.py:284
ClassSGZeroShotRecall
openpsg/evaluation/sgg_metrics.py:352
ClassSceneGraphBBoxHead
openpsg/models/roi_heads/bbox_heads/sg_bbox_head.py:10
ClassSceneGraphDataset
openpsg/datasets/sg.py:16
ClassSceneGraphEvaluation
openpsg/evaluation/sgg_metrics.py:24
ClassSceneGraphFormatBundle
openpsg/datasets/pipelines/formatting.py:7
ClassSceneGraphPanopticFPN
openpsg/models/frameworks/sg_panoptic_fpn.py:16
ClassSceneGraphRCNN
openpsg/models/frameworks/sg_rcnn.py:15
ClassSceneGraphRoIHead
openpsg/models/roi_heads/scene_graph_roi_head.py:8
ClassVCTreeHead
openpsg/models/relation_heads/vctree_head.py:21
ClassVisualSpatialExtractor
Extract RoI features from a single level feature map. If there are multiple input feature levels, each RoI is mapped to a level according to
openpsg/models/roi_extractors/visual_spatial.py:26
Classdetr4segHead
openpsg/models/relation_heads/detr4seg_head.py:41
ClasspsgtrDiceLoss
openpsg/models/losses/seg_losses.py:28