class_docstr: Given a model and a flashlight dataset, pre-compute and store embeddings
  
  Args:
      input_root, str :
          Path to the flashlight dataset
      output_root, str :
          Desired output directory. Will be created if non-existent
      split, str :
          Dataset split
code: def require_output_path(self, fname=None):
      path = self.get_output_path(fname)
      os.makedirs(path, exist_ok=True)
  
imports: import argparse
  import glob
  import os
  from shutil import copy
  import h5py
  import numpy
  import soundfile
  import torch
  import tqdm
  import fairseq
  from torch import nn
label_desc: Use image node_id 3 for calling the EmbeddingDatasetWriter obj's underlying member method code with example usage: obj.require_output_path(fname) without return types