code: def camel_to_snake(name):
      """
      Convert CamelCase to snake_case.
  
      From https://stackoverflow.com/a/1176023
      """
      name = pattern1.sub(r"\1_\2", name)
      return pattern2.sub(r"\1_\2", name).lower()
  
file_path: poutyne/poutyne/framework/metrics/utils.py
imports: import re
  from collections import Counter
  from typing import List, Tuple
label_desc: Use image node_id 1 for calling a global function with example usage: camel_to_snake(name) and returns: pattern2