def __init__(self, outputdir):
     with open(join(outputdir, 'setting.json')) as file:
         self.argdict = json.load(file)
     self.argdict = _check_if_processed(self.argdict)
Beispiel #2
0
 def __init__(self, outputdir):
     with open(join(outputdir, 'setting.json')) as file:
         self.argdict = json.load(file)
     self.argdict = _check_if_processed(self.argdict)
     self.container = Container(self.argdict['img_shape'])
     self.holder.max_cell_id = 0