def get_output_dir(imdb, net=None):
 outdir = osp.abspath(osp.join(__C.ROOT_DIR, 'output', __C.EXP_DIR, imdb.name))
 if (net is not None):
  outdir = osp.join(outdir, net.name)
 if (not os.path.exists(outdir)):
  os.makedirs(outdir)
 return outdir

def get_output_dir ( imdb , net = None ) : outdir = osp . abspath ( osp . join ( __C . ROOT_DIR , 'output' , __C . EXP_DIR , imdb . name ) ) if ( net is not None ) : outdir = osp . join ( outdir , net . name ) if ( not os . path . exists ( outdir ) ) : os . makedirs ( outdir ) return outdir
return the directory where experimental artifacts are placed .