ee63af01e28b1ac2b31eda1a28aa72920bc9dd6a,deepplantphenomics/semantic_segmentation_model.py,SemanticSegmentationModel,load_dataset_from_directory_with_segmentation_masks,#SemanticSegmentationModel#Any#Any#,319
Before Change
:param seg_dirname: the path of the directory containing ground-truth binary segmentation masks
image_files = [os.path.join(dirname, name) for name in os.listdir(dirname) if
os.path.isfile(os.path.join(dirname, name)) & name.endswith(".png")]
seg_files = [os.path.join(seg_dirname, name) for name in os.listdir(seg_dirname) if
os.path.isfile(os.path.join(seg_dirname, name)) & name.endswith(".png")]
After Change
self._raw_image_files = loaders.get_dir_images(dirname)
self._raw_labels = loaders.get_dir_images(seg_dirname)
if self._with_patching:
self._raw_image_files, self._raw_labels = self.__autopatch_segmentation_dataset()
self._total_raw_samples = len(self._raw_image_files)
self._log("Total raw examples is %d" % self._total_raw_samples)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: p2irc/deepplantphenomics
Commit Name: ee63af01e28b1ac2b31eda1a28aa72920bc9dd6a
Time: 2019-10-08
Author: dbl599@mail.usask.ca
File Name: deepplantphenomics/semantic_segmentation_model.py
Class Name: SemanticSegmentationModel
Method Name: load_dataset_from_directory_with_segmentation_masks
Project Name: interactiveaudiolab/nussl
Commit Name: bc1ca6bc6d1c28c780e348321e8e95d5b3f91794
Time: 2019-07-15
Author: prem@u.northwestern.edu
File Name: nussl/deep/datasets/base_dataset.py
Class Name: BaseDataset
Method Name: switch_to_cache
Project Name: p2irc/deepplantphenomics
Commit Name: 2c34a47f683dedb310f1c92be66870163cf80302
Time: 2019-10-10
Author: dbl599@mail.usask.ca
File Name: deepplantphenomics/heatmap_object_counting_model.py
Class Name: HeatmapObjectCountingModel
Method Name: load_heatmap_dataset_with_csv_from_directory