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

Method __set_input_dim

yolox/data/samplers.py:33–37  ·  view source on GitHub ↗

This function randomly changes the the input dimension of the dataset.

(self)

Source from the content-addressed store, hash-verified

31 self.__set_input_dim()
32
33 def __set_input_dim(self):
34 """ This function randomly changes the the input dimension of the dataset. """
35 if self.new_input_dim is not None:
36 self.input_dim = (self.new_input_dim[0], self.new_input_dim[1])
37 self.new_input_dim = None
38
39
40class InfiniteSampler(Sampler):

Callers 1

__iter__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected