46309771bbddd202267030f42a6f067294f7a626,plugins/extract/mask/_base.py,Masker,get_batch,#Masker#Any#,74
Before Change
is_aligned_face=self._image_is_aligned)
batch.setdefault("detected_faces", []).append(face)
batch.setdefault("filename", []).append(item["filename"])
batch.setdefault("image", []).append(item["image"] )
idx += 1
if idx == self.batchsize:
frame_faces = len(item["detected_faces"])
After Change
if idx == self.batchsize:
frame_faces = len(item.detected_faces)
if f_idx + 1 != frame_faces:
self._rollover = ExtractMedia(item.filename, item.image)
self._rollover.add_detected_faces(item.detected_faces[f_idx + 1:])
logger.trace("Rolled over %s faces of %s to next batch for "%s"",
len(self._rollover.detected_faces), frame_faces,
item.filename)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: deepfakes/faceswap
Commit Name: 46309771bbddd202267030f42a6f067294f7a626
Time: 2019-11-28
Author: 36920800+torzdf@users.noreply.github.com
File Name: plugins/extract/mask/_base.py
Class Name: Masker
Method Name: get_batch
Project Name: deepfakes/faceswap
Commit Name: 4fdeb67fba6cfb2193f8ab37a654de434b56baa0
Time: 2019-11-29
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/lib_alignments/jobs_manual.py
Class Name: MouseHandler
Method Name: update_landmarks
Project Name: deepfakes/faceswap
Commit Name: 46309771bbddd202267030f42a6f067294f7a626
Time: 2019-11-28
Author: 36920800+torzdf@users.noreply.github.com
File Name: plugins/extract/align/_base.py
Class Name: Aligner
Method Name: get_batch