code: def _decode_value(value):
      # https://github.com/rbgirshick/yacs/blob/master/yacs/config.py#L400
      if not isinstance(value, str):
          return value
  
      if value == "None":
          value = None
  
      try:
          value = literal_eval(value)
      except ValueError:
          pass
      except SyntaxError:
          pass
      return value
  
imports: import collections
  import json
  import logging
  import os
  import warnings
  from ast import literal_eval
  from typing import List
  import torch
  from mmf.common.registry import registry
  from mmf.utils.env import import_user_module
  from mmf.utils.file_io import PathManager
  from mmf.utils.general import get_absolute_path, get_mmf_root
  from omegaconf import DictConfig, errors, OmegaConf
label_desc: Use image node_id 10 for calling a global function with example usage: _decode_value(value) and returns: value, value