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

Class BucketConfig3AR

datasets/bucket_config.py:384–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

382
383
384class BucketConfig3AR(BucketConfigFromSideList):
385
386 def __init__(self, ) -> None:
387 side_list = get_default_side_list()
388 ar_list = sorted([0.6667, 1.0, 1.5])
389 ar_max = 2.0
390 ar_min = 0.5
391 pixel_num_list = [
392 144**2, 256**2, 384**2, 512**2, 480 * 720, 768**2, 4096**2
393 ]
394 pixel_prob_list = [0.05, 0.4, 0.4, 0.1, 0.03, 0.02]
395 self.side_list = side_list
396 super().__init__(
397 side_list=side_list,
398 ar_list=ar_list,
399 ar_max=ar_max,
400 ar_min=ar_min,
401 pixel_num_list=pixel_num_list,
402 pixel_prob_list=pixel_prob_list,
403 )
404
405
406class DefaultBucketConfig3ARNotExact(BucketConfig3AR):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected