code: def sample_sizes(
      strategy: str, rng: np.random.RandomState = default_rng()
  ) -> Tuple[Optional[str], float]:
      """Sample a random (asset) size according to a given strategy."""
      if strategy == "clevr":
          size_label = rng.choice(list(CLEVR_SIZES.keys()))
          size = CLEVR_SIZES[size_label]
          return size_label, size
      elif strategy == "uniform":
          return None, rng.uniform(0.7, 1.4)
      elif strategy == "const":
          return None, 1
      else:
          raise ValueError(f"Unknown size sampling strategy {strategy}")
  
file_path: kubric/kubric/randomness.py
imports: import numpy
  import pyquaternion
  from typing import Optional, Tuple
  from kubric.core import color
  from kubric.core import objects
label_desc: Use image node_id 10 for calling a global function with example usage: sample_sizes(strategy, rng) and returns: size_label,  size, None,  rng, None,  int