MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / get_thw

Method get_thw

datasets/bucket.py:130–134  ·  view source on GitHub ↗
(self, bucket_id)

Source from the content-addressed store, hash-verified

128 return hw_id, t_id, ar_id
129
130 def get_thw(self, bucket_id):
131 assert len(bucket_id) == 3
132 T = self.t_criteria[bucket_id[0]][bucket_id[1]]
133 H, W = self.ar_criteria[bucket_id[0]][bucket_id[1]][bucket_id[2]]
134 return T, H, W
135
136 def get_prob(self, bucket_id):
137 return self.bucket_probs[bucket_id[0]][bucket_id[1]]

Callers 1

__iter__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected