MCPcopy Create free account
hub / github.com/HanHan55/Graph2plan / forward

Method forward

PostProcess/g2p/model.py:132–217  ·  view source on GitHub ↗

Required Inputs: - objs: LongTensor of shape (O,) giving categories for all objects - triples: LongTensor of shape (T, 3) where triples[t] = [s, p, o] means that there is a triple (objs[s], p, objs[o]) Optional Inputs: - obj_to_img: LongTensor of shape (O,) where obj_to_i

(
    self, 
    objs, 
    triples, 
    boundary,
    obj_to_img=None,
    attributes=None,
    boxes_gt=None, 
    generate=False,
    refine=False,
    relative=False,
    inside_box=None
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

boxes_to_layoutFunction · 0.70

Tested by

no test coverage detected