MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / input_dim

Method input_dim

yolox/data/datasets/datasets_wrapper.py:76–87  ·  view source on GitHub ↗

Dimension that can be used by transforms to set the correct image size, etc. This allows transforms to have a single source of truth for the input dimension of the network. Return: list: Tuple containing the current width,height

(self)

Source from the content-addressed store, hash-verified

74
75 @property
76 def input_dim(self):
77 """
78 Dimension that can be used by transforms to set the correct image size, etc.
79 This allows transforms to have a single source of truth
80 for the input dimension of the network.
81
82 Return:
83 list: Tuple containing the current width,height
84 """
85 if hasattr(self, "_input_dim"):
86 return self._input_dim
87 return self.__input_dim
88
89 @staticmethod
90 def resize_getitem(getitem_fn):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected