code: def select_positive_integer(message="", value=-1):
      """CLI non-negative integer selection."""
  
      while value < 0:
          value = int(input(message))
          if value < 0:
              logger.error("Invalid choice.")
      return value
  
file_path: image-super-resolution/ISR/utils/utils.py
imports: import os
  import argparse
  from datetime import datetime
  import numpy
  import yaml
  from ISR.utils.logger import get_logger
label_desc: Use image node_id 10 for calling a global function with example usage: select_positive_integer(message, value) and returns: value