Skip to content

Commit

Permalink
proyecto-universidad
Browse files Browse the repository at this point in the history
  • Loading branch information
lriveraBanco committed Apr 26, 2024
0 parents commit cec28b8
Show file tree
Hide file tree
Showing 47 changed files with 2,688 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
select = E3, E4, F
per-file-ignores = roop/core.py:E402,F401
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: [s0md3v, henryruhs]
custom: [https://paypal.me/s0md3v, https://paypal.me/henryruhs]
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
name: Bug
about: Report a bug
labels: 'bug'

---

## Description

A concise description of the bug and how to reproduce it.

## Error

Paste the error or exception from your console:

```
```

## Details

What operating system are you using?

- [ ] Windows
- [ ] MacOS (Apple Silicon)
- [ ] MacOS (Apple Legacy)
- [ ] Linux
- [ ] Linux in WSL

What execution provider are you using?

- [ ] CPU
- [ ] CUDA
- [ ] CoreML
- [ ] DirectML
- [ ] OpenVINO
- [ ] Other

What version of Roop are you using?

- [ ] 1.0.0
- [ ] 1.1.0
- [ ] 1.2.0
- [ ] 1.3.0
- [ ] 1.3.1
- [ ] 1.3.2
- [ ] next
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
name: Installation
about: Platform and installation issues
labels: 'installation'

---

Please **DO NOT OPEN** platform and installation issues!
Binary file added .github/examples/snapshot.mp4
Binary file not shown.
Binary file added .github/examples/source.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/examples/target.mp4
Binary file not shown.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: ci

on: [ push, pull_request ]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- run: pip install flake8
- run: pip install mypy
- run: flake8 run.py roop
- run: mypy run.py roop
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- run: pip install -r requirements-headless.txt
- 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 -
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'
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.idea
models
temp
__pycache__
25 changes: 25 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## Pull Requests

Before submitting a pull request, please ensure to align with us as we need to establish both technical and business requirements.


### Do

- ...consider to fix bugs over adding features
- ...one pull request for one feature or improvement
- ...consult us about implementation details
- ...proper testing before you submit your code
- ...resolve failed CI pipelines


### Don't

- ...introduce fundamental changes in terms of software architecture
- ...introduce OOP - we accept functional programming only
- ...ignore given requirements or try to work around them
- ...submit code to a development branch without consulting us
- ...submit massive amount of code changes
- ...submit a proof of concept
- ...submit code that is using undocumented and private APIs
- ...solve third party issues in our project
- ...comment what your code does - use proper naming instead
Loading

0 comments on commit cec28b8

Please sign in to comment.