Пример #1
0
    def characterResultDir(self, data_name=None, layer_name=None):
        if data_name is None:
            data_name = self._name
        result_dir = subDirectory(self._character_dir, data_name)

        if layer_name is not None:
            result_dir = subDirectory(result_dir, layer_name)
        return result_dir
Пример #2
0
    def characterResultDir(self, data_name=None, layer_name=None):
        if data_name is None:
            data_name = self._name
        result_dir = subDirectory(self._character_dir, data_name)

        if layer_name is not None:
            result_dir = subDirectory(result_dir, layer_name)
        return result_dir
Пример #3
0
 def __init__(self, name="", dataset_name=""):
     target_dir = datasetDir(dataset_name)
     super(DatasetBatch, self).__init__(name, target_dir)
     self._dataset_name = dataset_name
     self._data_name = ""
     self._data_file_name = ""
     self._data_file = ""
     self._result_root = subDirectory(self._target_dir, "results/" + self._name)
     self._dataset_files = datasetFiles(self._target_dir)
     self._data_file_id = 0
Пример #4
0
 def __init__(self, name="", dataset_name=""):
     target_dir = datasetDir(dataset_name)
     super(DatasetBatch, self).__init__(name, target_dir)
     self._dataset_name = dataset_name
     self._data_name = ""
     self._data_file_name = ""
     self._data_file = ""
     self._result_root = subDirectory(self._target_dir,
                                      "results/" + self._name)
     self._dataset_files = datasetFiles(self._target_dir)
     self._data_file_id = 0
Пример #5
0
 def resultDir(self, result_name=None):
     if result_name is None:
         result_name = self._name
     return subDirectory(self._target_dir, "results/" + result_name)
Пример #6
0
def colorMapResultsDir():
    return subDirectory(colorMapDatasetDir(), "results")
Пример #7
0
def colorMapResultsDir():
    return subDirectory(colorMapDatasetDir(), "results")
Пример #8
0
 def resultDir(self, result_name=None):
     if result_name is None:
         result_name = self._name
     return subDirectory(self._target_dir, "results/" + result_name)
Пример #9
0
def shapeResultDir(result_name):
    return subDirectory(shapeResultsDir(), result_name)
Пример #10
0
def shapeResultsDir():
    return subDirectory(shapeDatasetDir(), "results")