Skip to content

Commit

Permalink
Bugfix: Post-processing after swapping
Browse files Browse the repository at this point in the history
  • Loading branch information
C0untFloyd committed Jul 15, 2024
1 parent d522290 commit 77ebb3f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ Additional commandline arguments are currently unsupported and settings should b

### Changelog

**15.07.2024** v4.1.1

- Bugfix: Post-processing after swapping


**14.07.2024** v4.1.0

- Added subsample upscaling to increase swap resolution
Expand Down
1 change: 1 addition & 0 deletions roop/ProcessMgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ def process_face(self,face_index, target_face:Face, frame:Frame):
sliced_frame = self.normalize_swap_frame(sliced_frame)
swap_result_frames.append(sliced_frame)
fake_frame = self.explode_pixel_boost(swap_result_frames, model_output_size, subsample_total, subsample_size)
fake_frame = fake_frame.astype(np.uint8)
scale_factor = 0.0
elif p.type == 'mask':
fake_frame = self.process_mask(p, aligned_img, fake_frame)
Expand Down
2 changes: 1 addition & 1 deletion roop/metadata.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
name = 'roop unleashed'
version = '4.1.0'
version = '4.1.1'

0 comments on commit 77ebb3f

Please sign in to comment.