code: def save_imdb(self, imdb):
      with open(self.args.out_file, "w") as f:
          json.dump(imdb, f)
  
file_path: mmf/tools/scripts/visual_dialog/build_imdb.py
imports: import argparse
  import glob
  import json
  import os
  from mmf.utils.text import tokenize
label_desc: Use image node_id 5 for calling the IMDBBuilder obj's underlying member method code with example usage: obj.save_imdb(imdb) without return types