Beispiel #1
0
    def __init__(self, name="", dataset_name=""):
        target_dir = datasetDir(dataset_name)

        super(CharacterBatch, self).__init__(name, target_dir)

        self._character_name = ""
        self._character_dir = ""

        characters_dir = datasetDir("illustration/characters")
        self._character_dirs = datasetSubDirectories(characters_dir)
        print self._character_dirs
        self._character_id = 0
Beispiel #2
0
    def __init__(self, name="", dataset_name=""):
        target_dir = datasetDir(dataset_name)

        super(CharacterBatch, self).__init__(name, target_dir)

        self._character_name = ""
        self._character_dir = ""

        characters_dir = datasetDir("illustration/characters")
        self._character_dirs = datasetSubDirectories(characters_dir)
        print self._character_dirs
        self._character_id = 0
Beispiel #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
Beispiel #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