code: def flatten_nested_dict(params, parent_key="", sep="/"):
      items = []
  
      for k, v in params.items():
          new_key = parent_key + sep + k if parent_key else k
  
          if isinstance(v, collections.MutableMapping):
              items.extend(
                  flatten_nested_dict(v, new_key, sep=sep).items()
              )
          else:
              items.append((new_key, v))
      return dict(items)
  
imports: import argparse
  import collections
  import torch
  import torch.nn
  import jax
  import jax.numpy
  from clip.model import CLIP
  from flax.training import checkpoints
  from huggingface_hub import Repository
  from transformers import CLIPTokenizer, OwlViTConfig, OwlViTFeatureExtractor, OwlViTForObjectDetection, OwlViTModel, OwlViTProcessor
label_desc: Use image node_id 1 for calling a global function with example usage: flatten_nested_dict(params, parent_key, sep) and returns: dict