Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug/Logging #41

Open
wants to merge 172 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
c042fa5
Add support detect face with selected detector instead of Retinaface
Alucard24 Apr 23, 2024
f41fa65
Modified batch to execute app in Conda environment.
Alucard24 Apr 23, 2024
d998362
Add support for yunet detector.
Alucard24 Apr 24, 2024
b24a433
Update requirements.txt to use opencv-python v.4.8.1.78.
Alucard24 Apr 24, 2024
5ef4456
Update requirements.txt to use opencv-python v.4.9.0.80
Alucard24 May 3, 2024
807be50
Update yunet facedetector to work with onnxruntime io_binding.
Alucard24 May 3, 2024
ca2706b
Add support detect face with selected detector instead of Retinaface in
Alucard24 May 3, 2024
e7c18c3
Remove useless bgr_to_rgb function for yunet face detector.
Alucard24 May 8, 2024
f25f540
Adjust findCosineDistance function to avoid many false positive.
Alucard24 May 8, 2024
0cfc0a8
Face detectors return bounding boxes and keypoints values.
Alucard24 May 8, 2024
44354d7
Update yunet facedetector. Optimize code working with onnxruntime io_…
Alucard24 May 24, 2024
43dc345
Update Yolo v8 Face Detector fixing bounding box results.
Alucard24 May 24, 2024
33ce347
Removed spaces.
Alucard24 May 24, 2024
0af3adb
Adjust findCosineDistance function.
Alucard24 May 24, 2024
3e39ca5
Typo corrections.
Alucard24 May 24, 2024
950ea0b
Fix for BGR to RGB convertion and PIL images.
Alucard24 May 24, 2024
7682b11
Cleaning.
Alucard24 May 24, 2024
abed4f9
Cleaning.
Alucard24 May 24, 2024
0be97fe
Use always BILINEAR Interpolation Mode.
Alucard24 May 24, 2024
c926b9c
Cleaning.
Alucard24 May 24, 2024
e3dff38
Add new Face Detector model:
Alucard24 May 24, 2024
75b11b9
Add FaceUtil module to support new Face Landmark Detectors.
Alucard24 May 24, 2024
d5c3c3e
Implement code to use new Face Detector model:
Alucard24 May 24, 2024
b296356
Updated to Rope-Pearl-00
Alucard24 May 27, 2024
a4057c7
fixed some console spam
Hillobar May 27, 2024
cbbd5a2
Bug fixing.
Alucard24 May 29, 2024
dc11e43
* Add support for from points in Landmarks Detectors. Using Face Dete…
Alucard24 May 31, 2024
d814af7
* Fix for issue that was causing incorrect detection of facial landma…
Alucard24 Jun 2, 2024
9872d10
Fix for issue when show landmarks setting is enabled and the incorrec…
Alucard24 Jun 2, 2024
bd2516f
Brings back the similarity of the face to the Opal version.
Alucard24 Jun 2, 2024
a93d442
Import Corza UberMod.
Alucard24 Jun 5, 2024
8b02b15
Import Corza UberMod missing files.
Alucard24 Jun 5, 2024
a1c09e5
Fixed the linux model problem.
Alucard24 Jun 5, 2024
17b2077
Brings back the similarity of the face to the Opal version part 2.
Alucard24 Jun 5, 2024
f5a306d
Fixed the linux compatibility
Alucard24 Jun 5, 2024
d5af208
Brings back the similarity of the face to the Opal version part 3.
Alucard24 Jun 5, 2024
3f12b07
* Add new functionality to allow the user to correct in real time the…
Alucard24 Jun 7, 2024
0f49c6d
Add Opal similarity switch in order that can be used with recognizer
Alucard24 Jun 7, 2024
d4788f6
* Add Optimal similarity. It is a combination of many similarities, s…
Alucard24 Jun 8, 2024
9f701e4
Add support for SimSwap 512 unofficial faceswapper model.
Alucard24 Jun 11, 2024
124f92a
Fix for an issue on selecting Face Swapper Model.
Alucard24 Jun 11, 2024
1dbaf0a
Add support for GPEN 2028 restorer model.
Alucard24 Jun 11, 2024
7f785a8
Fix for an issue when the current requested frame is not in the range…
Alucard24 Jun 11, 2024
8175853
Add Face Likeness functionality.
Alucard24 Jun 12, 2024
1549c38
Code Style
Alucard24 Jun 13, 2024
97f6a27
Add support for Ghost Face v1, Ghost Face v2 and Ghost Face v3
Alucard24 Jun 16, 2024
ff673f6
Fix for an issue regarding similarity in recognition function.
Alucard24 Jun 17, 2024
8ed6b73
Add restore eyes and restore mouth functionalities. Big thanks to arg…
Alucard24 Jun 27, 2024
9948e1b
Added more face attributes ['Neck','Eyebrows','Eyes','Nose','Lips','M…
argenspin Jun 28, 2024
b3642f8
changes to gitignore
argenspin Jun 29, 2024
04e9895
added tensorrt exec
argenspin Jun 29, 2024
6f0f74c
Merge pull request #1 from argenspin/next
Alucard24 Jul 2, 2024
95f8acc
Code Style.
Alucard24 Jul 2, 2024
4e6e19d
Add Auto Rotation functionality for all Face Detector. When active
Alucard24 Jul 3, 2024
99bb44f
Solves an issue with the Face Scaling functionality by allowing scaling
Alucard24 Jul 3, 2024
11d24a2
* Add support for TensorRT provider and add the functionality to switch
Alucard24 Jul 4, 2024
2ed302c
Remove TensorRT provider configuration if it is not used.
Alucard24 Jul 5, 2024
1269417
Remove default TensorRT provider configuration.
Alucard24 Jul 5, 2024
8a35b3e
Fix for issue on Providers Priority setting that was not correctly
Alucard24 Jul 7, 2024
0716aee
Reset models and clear cuda cache when a user reload parameters.
Alucard24 Jul 8, 2024
2c977a7
Improve Color Adjustments functionality adding Sharpness, Contrast,
Alucard24 Jul 12, 2024
3ebaed1
Update requirements in order to support TensorRT-10.2.0
Alucard24 Jul 13, 2024
893026b
Delete invalid code
Alucard24 Jul 13, 2024
2b34b79
Temporary fix for 'Enable Audio' option. Thanks to @argenspin and @co…
Alucard24 Jul 13, 2024
c0c7974
Added webcam and virtual cam features from Rope-Live fork. Thanks to
Alucard24 Jul 13, 2024
f88bd03
Add support for DFL Xsef v2 model. I personally converted last updated
Alucard24 Jul 15, 2024
d020d30
Ensure that a tensor has contiguous memory.
Alucard24 Jul 15, 2024
d1ab044
Changed Sides Border Distance in Left and Right Border distance.
Alucard24 Jul 15, 2024
c3ca6a3
Update XSeg model v2 trained by myself and based on latest Shennong 2…
Alucard24 Jul 19, 2024
8a1a6b9
Update XSeg model (Milx version). Big thanks to him.
Alucard24 Jul 19, 2024
0bb691e
Implement DFL XSeg size.
Alucard24 Jul 20, 2024
baa809d
Implement the possibility to Save and Load more than parameters files.
Alucard24 Jul 25, 2024
ca43030
Updates from Rope-Live:
Alucard24 Jul 25, 2024
c37c1cb
added webcam fps selection. some other changes to webcam options. Thanks
Alucard24 Jul 25, 2024
5de1c35
Improve pad_image_by_size function.
Alucard24 Jul 26, 2024
8ba1a68
Implement VQFR v2 face restorer model.
Alucard24 Jul 31, 2024
69b826c
Implement TextSelectionComboBox control.
Alucard24 Aug 5, 2024
e48244a
* Add Frame Upscaler functionality.
Alucard24 Aug 6, 2024
cc4a62b
Fix typo. Thanks to @kraibse
Alucard24 Aug 7, 2024
6d4d8b8
Add Frame Blend slider setting.
Alucard24 Aug 7, 2024
b41968c
Add support for DDColor and DDColor colorizer models.
Alucard24 Aug 8, 2024
cf1acb6
Add support for RealEsr-General-x4v3 model.
Alucard24 Aug 8, 2024
dae2fbb
Cleaning code. Remove superfluous TAB, spaces and carriage return
Alucard24 Aug 9, 2024
c932850
Add script for cleaning code.
Alucard24 Aug 9, 2024
3c45967
feat: tab saves slider textbox input
Aug 10, 2024
1f19bef
feat: support loading old markers json files
Aug 10, 2024
7b862d4
Optimize loop
mz28k Jan 7, 2024
076bafe
Make slider being more responsive
mz28k Aug 15, 2024
64d8214
Merge pull request #4 from aonmkugs/slider-tab-input
Alucard24 Aug 17, 2024
147abeb
Merge pull request #5 from aonmkugs/load-old-json-formats
Alucard24 Aug 17, 2024
8f519f3
Merge pull request #6 from mz28k/m-next
Alucard24 Aug 17, 2024
b176183
Fix for audio process. Force to kill ffplay and subprocess that remains
Alucard24 Aug 18, 2024
2090f2a
Optimize trans_points2d and trans_points3d functions for performance.
Alucard24 Aug 19, 2024
178563f
Revert "Merge pull request #6 from mz28k/m-next"
Alucard24 Aug 19, 2024
5e1e580
*) Adds the "Restore Eyes" and "Restore Mouth" functionality,
Alucard24 Aug 20, 2024
eb7c72a
Fix issue about loading wrong or missing parameters in saved paramete…
Alucard24 Aug 20, 2024
c881370
Ensure the elements of the tensor are stored in a continuous block of…
Alucard24 Aug 20, 2024
842519a
Update requirements for cuda 11.8
Alucard24 Aug 21, 2024
e36944c
Update .gitignore
Alucard24 Aug 21, 2024
8337c5a
Add requirements for CUDA 12.4.
Alucard24 Aug 21, 2024
5ac81c6
Add batch files to run Rope on cuda 11.8 or cuda 12.4
Alucard24 Aug 21, 2024
b418c3e
Remove unused apply_bg_face_parser function.
Alucard24 Aug 21, 2024
dac3335
Fix for issue on resnet50 function initializing self.anchors variable…
Alucard24 Aug 21, 2024
441544d
Optimized UI loop. Code refactored from @mz28k's source. Thanks to him
Alucard24 Aug 21, 2024
cb69228
Add time management for video.
Alucard24 Aug 21, 2024
088ac01
Teminate the audioprocess when needed if it is active.
Alucard24 Aug 22, 2024
1535e18
Terminate audio process if active when closing Rope.
Alucard24 Aug 22, 2024
18851f4
Fix for audio process finding the current frame.
Alucard24 Aug 22, 2024
1babee9
Revert Optimized UI loop. Code refactored from @mz28k's source. Thanks
Alucard24 Aug 22, 2024
47f31b6
Remove unused code.
Alucard24 Aug 22, 2024
10eed8c
Landmark Position Adjustments: Code Refactored.
Alucard24 Aug 24, 2024
c08eb4a
Fix for an issue on auto_swap function.
Alucard24 Sep 3, 2024
8dcf1fb
temporary fix in problem selecting camera backend. Big thanks to
Alucard24 Sep 3, 2024
8c6355c
Inswapper 128: Improves memory efficiency and performance in image
Alucard24 Sep 3, 2024
a512cb1
Improves memory efficiency and performance in enhance frame :image ti…
Alucard24 Sep 3, 2024
f0c6038
Rename LandmarksPositionAdjSwitch display text into 5 Landmarks Position
Alucard24 Sep 3, 2024
81ae85a
* Added new FaceEditor functionality based on the official LivePortra…
Alucard24 Sep 3, 2024
68a2f9b
Improves VRAM_Indicator class in order to avoid potential issues.
Alucard24 Sep 3, 2024
f391610
Update splash logo, github repository link, discord channel and donation
Alucard24 Sep 3, 2024
b4fed85
Merge all DFL implementation changes made by @argenspin. Big Thanks to
Alucard24 Sep 3, 2024
6601f85
Fix an issue in swap_edit_face_core when 203 landmark model is not
Alucard24 Sep 3, 2024
2a351e9
Refactored and fixed TensorRTPredictor class. Added synchronized
Alucard24 Sep 3, 2024
8d1139a
Update README.md file.
Alucard24 Sep 3, 2024
7d820cb
Fix for an issue in load_params_visibility_from_json function.
Alucard24 Sep 3, 2024
36e9275
Revert partially: Inswapper 128: Improves memory efficiency and perfo…
Alucard24 Sep 3, 2024
b6d1aba
Fix for issues in Retinaface, Yolov8, SCRDF, Yunet Face Detectors whe…
Alucard24 Sep 3, 2024
630671d
Fix for issue when face detector doesn't detect any faces in
Alucard24 Sep 3, 2024
e148183
Fix for issue when face detector doesn't detect any faces in swap_video.
Alucard24 Sep 4, 2024
2e1a730
Fix for issue when face detector doesn't detect any faces in
Alucard24 Sep 4, 2024
2ff0746
* Merge latest @argenspin updates. Big thanks to him.
Alucard24 Sep 11, 2024
4ebb378
Add thread synchronization for TensorRT-Engine with Settings.
Alucard24 Sep 12, 2024
df16351
Remove useless syncvec variable. Use instead torch.cuda.synchronize()…
Alucard24 Sep 12, 2024
5ca3ad0
Update requirements: Upgrade torch to 2.4.1 version.
Alucard24 Sep 12, 2024
7e9a340
Always add to kpss, regardless of the length of landmark_kpss.
Alucard24 Sep 12, 2024
ab508d8
Update README.md file
Alucard24 Sep 12, 2024
e7b2428
Update requirements: Force to use TensorRT 10.3.0 pip package
Alucard24 Sep 12, 2024
962061a
Apply edit faces only if named parameters are not as default.
Alucard24 Sep 12, 2024
05e9f64
Migrate to TensorRT 10.4.0.
Alucard24 Sep 12, 2024
6a11074
Use dtype=object for kpss to manage elements of variable length.
Alucard24 Sep 13, 2024
f09e6ba
Improves FaceEditor performance.
Alucard24 Sep 13, 2024
4966804
Update README.md file.
Alucard24 Sep 13, 2024
1da706b
Update README.md file.
Alucard24 Sep 13, 2024
9568a43
Update README.md file
Alucard24 Sep 13, 2024
dd4cd04
Update README.md file.
Alucard24 Sep 13, 2024
5fb7f63
Imported @Hans changes.
Alucard24 Sep 16, 2024
8adebfc
Fix autoswap. Big Thanks to @mister.nobody.1234
Alucard24 Sep 16, 2024
4ccbf2d
Optimized DFL models to work directly on CUDA tensors without passing
Alucard24 Sep 17, 2024
faa02cc
Make tensor options configurable through the trt_ep_options variable.
Alucard24 Sep 17, 2024
2efa354
Added simplify_dfm_onnx.py script to simplify DFM models, enabling them
Alucard24 Sep 17, 2024
184b043
Update requirements. Add onnxsimplify.
Alucard24 Sep 17, 2024
ec2847d
Update requirements: Add kornia package.
Alucard24 Sep 17, 2024
dc764d3
Update README.md file.
Alucard24 Sep 17, 2024
1b3615f
Fix for an issue on 2nd Restorer when active.
Alucard24 Sep 17, 2024
6058d42
Improve performance for histogram_matching_DFL_Orig and
Alucard24 Sep 17, 2024
34f01a4
Update README.md file.
Alucard24 Sep 17, 2024
4e148ae
Fix issue on Restore2 shortcut.
Alucard24 Sep 17, 2024
6158a9e
Optimize DFL Model rct function.
Alucard24 Sep 18, 2024
6b6b8bf
Change the faceparser model with the updated one. Big Thanks to @yakhyo
Alucard24 Sep 19, 2024
dc75954
Remove useless code.
Alucard24 Sep 19, 2024
181062d
Add functions to work on torch tensor.
Alucard24 Sep 19, 2024
da0660b
Move DFMModel, FaceEditor, FaceLandmarks and TensorRTPredictor classes
Alucard24 Sep 20, 2024
1e92736
* Fix an issue when providers setting is set to CPU
Alucard24 Sep 23, 2024
1711ab2
Remove Rope-cu118.bat and Rope-cu124.bat files.
Alucard24 Sep 23, 2024
ca2e54c
Update requirements. Add requestes package.
Alucard24 Sep 23, 2024
a2c9949
Ready for Rope-Next-Portable!
Alucard24 Sep 23, 2024
cfdd5d0
Update README.md file.
Alucard24 Sep 23, 2024
8715877
Merge branch 'development'
Alucard24 Sep 23, 2024
5eb8436
Update README.md file.
Alucard24 Sep 23, 2024
a5ef766
Added memory cleanup script
Jan 29, 2025
a8e56a6
Updated memory cleanup script to suppress PyTorch FutureWarnings
Jan 29, 2025
7db536e
Added ffmpeg cleanup
Jan 29, 2025
e72b298
Reorganized project structure and moved files to src/, tests/, logs/
Jan 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
**/__pycache__/**

models/*.ckpt
models/*.pth
models/*.onnx
models/*.trt
models/liveportrait_onnx/*.onnx
models/liveportrait_onnx/*.trt
*.json
*.pkl
*.engine
*.profile
*.timing
*.dfm
merged_embeddings*.txt
.vs
*.sln
*.pyproj
.vscode/
tensorrt-engines
tensorrt-engines-cu118/
tensorrt-engines-cu124/
Rope-cu118.bat
Rope-cu124.bat
21 changes: 21 additions & 0 deletions Install_Rope_Next.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@echo off
if exist "activate.bat" (
call activate.bat
)
git init
git remote add origin https://github.com/Alucard24/Rope.git
git pull origin
git checkout -f -b development origin/development
git reset --hard origin/development

git checkout -f -b main origin/main
git reset --hard origin/main

call Update_Rope_Next_Stable.bat

echo.
echo --------Installation Complete--------
echo.
echo You can now start the program by running the Start_Rope_Next_Stable.bat or Start_Rope_Next_Dev.bat file

pause
Loading