mirror of
https://github.com/s0md3v/roop.git
synced 2025-12-07 10:28:28 +00:00
Next (#810)
* Fix dependency conflict (#790) * Remove (direct) torch and torchvision dependencies * Change version to next * Multi OS in CI (#808) * Run CI on multi OS * Run CI on multi OS * Run CI on multi OS * Run CI on multi OS * Run CI on multi OS * Bump version --------- Co-authored-by: Wu Tingfeng <wu.tingfeng@u.nus.edu>
This commit is contained in:
parent
43a8d9f7f3
commit
c2d1feb17a
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -17,7 +17,10 @@ jobs:
|
|||||||
- run: flake8 run.py roop
|
- run: flake8 run.py roop
|
||||||
- run: mypy run.py roop
|
- run: mypy run.py roop
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -28,6 +31,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
- run: pip install -r requirements-ci.txt
|
- run: pip install -r requirements-ci.txt
|
||||||
- run: python run.py -s=.github/examples/source.jpg -t=.github/examples/target.mp4 -o=.github/examples/output.mp4
|
- run: python run.py -s .github/examples/source.jpg -t .github/examples/target.mp4 -o .github/examples/output.mp4
|
||||||
|
if: matrix.os != 'windows-latest'
|
||||||
|
- run: python run.py -s .github\examples\source.jpg -t .github\examples\target.mp4 -o .github\examples\output.mp4
|
||||||
|
if: matrix.os == 'windows-latest'
|
||||||
- run: ffmpeg -i .github/examples/snapshot.mp4 -i .github/examples/output.mp4 -filter_complex psnr -f null -
|
- run: ffmpeg -i .github/examples/snapshot.mp4 -i .github/examples/output.mp4 -filter_complex psnr -f null -
|
||||||
|
if: matrix.os != 'windows-latest'
|
||||||
|
- run: ffmpeg -i .github\examples\snapshot.mp4 -i .github\examples\output.mp4 -filter_complex psnr -f null -
|
||||||
|
if: matrix.os == 'windows-latest'
|
||||||
|
|||||||
BIN
gui-demo.png
BIN
gui-demo.png
Binary file not shown.
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
@ -1,4 +1,4 @@
|
|||||||
numpy==1.23.5
|
numpy==1.24.3
|
||||||
opencv-python==4.8.0.74
|
opencv-python==4.8.0.74
|
||||||
onnx==1.14.0
|
onnx==1.14.0
|
||||||
insightface==0.7.3
|
insightface==0.7.3
|
||||||
@ -6,8 +6,6 @@ psutil==5.9.5
|
|||||||
tk==0.1.0
|
tk==0.1.0
|
||||||
customtkinter==5.2.0
|
customtkinter==5.2.0
|
||||||
tkinterdnd2==0.3.0
|
tkinterdnd2==0.3.0
|
||||||
torch==2.0.1
|
|
||||||
torchvision==0.15.2
|
|
||||||
onnxruntime==1.15.0
|
onnxruntime==1.15.0
|
||||||
tensorflow==2.13.0
|
tensorflow==2.13.0
|
||||||
opennsfw2==0.10.2
|
opennsfw2==0.10.2
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
--extra-index-url https://download.pytorch.org/whl/cu118
|
--extra-index-url https://download.pytorch.org/whl/cu118
|
||||||
|
|
||||||
numpy==1.23.5
|
numpy==1.24.3
|
||||||
opencv-python==4.8.0.74
|
opencv-python==4.8.0.74
|
||||||
onnx==1.14.0
|
onnx==1.14.0
|
||||||
insightface==0.7.3
|
insightface==0.7.3
|
||||||
@ -10,10 +10,6 @@ customtkinter==5.2.0
|
|||||||
tkinterdnd2==0.3.0; sys_platform != 'darwin' and platform_machine != 'arm64'
|
tkinterdnd2==0.3.0; sys_platform != 'darwin' and platform_machine != 'arm64'
|
||||||
tkinterdnd2-universal==1.7.3; sys_platform == 'darwin' and platform_machine == 'arm64'
|
tkinterdnd2-universal==1.7.3; sys_platform == 'darwin' and platform_machine == 'arm64'
|
||||||
pillow==10.0.0
|
pillow==10.0.0
|
||||||
torch==2.0.1+cu118; sys_platform != 'darwin'
|
|
||||||
torch==2.0.1; sys_platform == 'darwin'
|
|
||||||
torchvision==0.15.2+cu118; sys_platform != 'darwin'
|
|
||||||
torchvision==0.15.2; sys_platform == 'darwin'
|
|
||||||
onnxruntime==1.15.1; python_version != '3.9' and sys_platform == 'darwin' and platform_machine != 'arm64'
|
onnxruntime==1.15.1; python_version != '3.9' and sys_platform == 'darwin' and platform_machine != 'arm64'
|
||||||
onnxruntime-coreml==1.13.1; python_version == '3.9' and sys_platform == 'darwin' and platform_machine != 'arm64'
|
onnxruntime-coreml==1.13.1; python_version == '3.9' and sys_platform == 'darwin' and platform_machine != 'arm64'
|
||||||
onnxruntime-silicon==1.13.1; sys_platform == 'darwin' and platform_machine == 'arm64'
|
onnxruntime-silicon==1.13.1; sys_platform == 'darwin' and platform_machine == 'arm64'
|
||||||
|
|||||||
@ -13,12 +13,8 @@ import platform
|
|||||||
import signal
|
import signal
|
||||||
import shutil
|
import shutil
|
||||||
import argparse
|
import argparse
|
||||||
import torch
|
|
||||||
import onnxruntime
|
import onnxruntime
|
||||||
if not 'CUDAExecutionProvider' in onnxruntime.get_available_providers():
|
|
||||||
del torch
|
|
||||||
import tensorflow
|
import tensorflow
|
||||||
|
|
||||||
import roop.globals
|
import roop.globals
|
||||||
import roop.metadata
|
import roop.metadata
|
||||||
import roop.ui as ui
|
import roop.ui as ui
|
||||||
|
|||||||
@ -1,2 +1,2 @@
|
|||||||
name = 'roop'
|
name = 'roop'
|
||||||
version = '1.3.1'
|
version = '1.3.2'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user