ab4ef756710a16a318e5f57a1c3ffca8ea28913a,plugins/extract/mask/_base.py,Masker,__init__,#Masker#Any#Any#Any#Any#,52

Before Change



        self._plugin_type = "mask"
        self._image_is_aligned = image_is_aligned
        self._storage_name = self.__module__.split(".")[-1].replace("_", "-")
        self._storage_size = 128  // Size to store masks at. Leave this at default
        self._faces_per_filename = dict()  // Tracking for recompiling face batches
        self._rollover = None  // Items that are rolled over from the previous batch in get_batch
        self._output_faces = []

After Change


                                     item.filename)
                    break
        if batch:
            logger.trace("Returning batch: %s", {k: v.shape if isinstance(v, np.ndarray) else v
                                                 for k, v in batch.items()})
        else:
            logger.trace(item)
        return exhausted, batch
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: deepfakes/faceswap
Commit Name: ab4ef756710a16a318e5f57a1c3ffca8ea28913a
Time: 2020-04-02
Author: 36920800+torzdf@users.noreply.github.com
File Name: plugins/extract/mask/_base.py
Class Name: Masker
Method Name: __init__


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 983aedb23057629605c8a7c8d9757945651d48f5
Time: 2015-03-27
Author: yuyantingzero@gmail.com
File Name: perfkitbenchmarker/packages/fio.py
Class Name:
Method Name: ParseJobFile


Project Name: pantsbuild/pants
Commit Name: cb091ce8cd52691e9eb569dacd960cd326030c8b
Time: 2014-02-20
Author: jsirois@twitter.com
File Name: src/python/twitter/pants/tasks/builddictionary.py
Class Name: BuildBuildDictionary
Method Name: _gen_goals_reference