diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml new file mode 100644 index 0000000..de76ce6 --- /dev/null +++ b/.github/workflows/no-response.yml @@ -0,0 +1,34 @@ +name: No Response + +# Modified from: https://raw.githubusercontent.com/github/docs/main/.github/workflows/no-response.yaml + +# **What it does**: Closes issues that don't have enough information to be +# actionable. +# **Why we have it**: To remove the need for maintainers to remember to check +# back on issues periodically to see if contributors have +# responded. +# **Who does it impact**: Everyone that works on docs or docs-internal. + +on: + issue_comment: + types: [created] + + schedule: + # Schedule for five minutes after the hour every hour + - cron: '5 * * * *' + +jobs: + noResponse: + runs-on: ubuntu-latest + steps: + - uses: lee-dohm/no-response@v0.5.0 + with: + token: ${{ github.token }} + closeComment: > + This issue has been automatically closed because there has been no response + to our request for more information from the original author. With only the + information that is currently in the issue, we don't have enough information + to take action. Please reach out if you have or find the answers we need so + that we can investigate further. + If you still have questions, please improve your description and re-open it. + Thanks :-) diff --git a/.gitignore b/.gitignore index 0270f65..d5b51f8 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,6 @@ tmp/* realesrgan/weights/* version.py -.vscode # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..b126355 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,19 @@ +{ + "files.trimTrailingWhitespace": true, + "editor.wordWrap": "on", + "editor.rulers": [ + 80, + 120 + ], + "editor.renderWhitespace": "all", + "editor.renderControlCharacters": true, + "python.formatting.provider": "yapf", + "python.formatting.yapfArgs": [ + "--style", + "{BASED_ON_STYLE = pep8, BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF = true, SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN = true, COLUMN_LIMIT = 120}" + ], + "python.linting.flake8Enabled": true, + "python.linting.flake8Args": [ + "max-line-length=120" + ], +} diff --git a/Training.md b/Training.md index 64704e1..e47b075 100644 --- a/Training.md +++ b/Training.md @@ -1,7 +1,7 @@ # :computer: How to Train Real-ESRGAN The training codes have been released.
-Note that the codes have a lot of refactoring. So there may be some bugs/performance drops. Welcome to report issues and I will also retrain the models. +Note that the codes have a lot of refactoring. So there may be some bugs/performance drops. Welcome to report bugs/issues. ## Overview diff --git a/requirements.txt b/requirements.txt index f0a64cb..d265bab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -basicsr +basicsr>=1.3.3.10 numpy opencv-python torch>=1.7