# Description
This will allow the image to be used outside of the repo (such as in a
service like runpod, or by a novice user who doesn't want to pull the
git repo and instead use `docker run ...`) once we start pushing the
images to Docker Hub.
Closes: Nothing, yet. This is a step in the direction of
`#installation-packing:Docker` in Discord.
# Checklist:
- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
# Checklist:
- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
# Checklist:
- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Changed realesrgan dependency to use pip instead of having to clone the
repository on the src folder, this should reduce the amount of stuff
that is on the src folder and that causes issues when updating.
# Checklist:
- [x ] I have changed the base branch to `dev`
- [ x] I have performed a self-review of my own code
* Fixed config args being double-loaded and not replacing the defaults.
Closes: #1333
# Checklist:
- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
Bumps [realesrgan](https://github.com/xinntao/Real-ESRGAN) from 0.2.8 to
0.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/xinntao/Real-ESRGAN/releases">realesrgan's
releases</a>.</em></p>
<blockquote>
<h2>Real-ESRGAN v0.3.0 Release Note</h2>
<p>🚀 Long time no see ☄️</p>
<p>✨ <strong>Highlights</strong></p>
<p>✅ <a
href="b827be13a1">add
realesr-general-x4v3 and realesr-general-wdn-x4v3</a>. They are very
tiny models for general scenes, and they may more robust. But as they
are tiny models, their performance may be limited.
✅ <a
href="576aaddfaf">support
denoise strength for realesr-general-x4v3</a>. You can use the
<strong>-dn</strong> option to adjust the denising strength. Denoise
strength. 0 for weak denoise (keep noise), 1 for strong denoise ability.
Only used for the realesr-general-x4v3 model.
✅ <a
href="61e81d3108">update
inference_video: support auto download</a>. You do not need to download
models explicitly. If the models are not download, they will be
downloaded automatically.</p>
<p>✅ <a
href="cdc14b74a5">support
ffmpeg stream for inference_realesrgan_video</a>
✅ <a
href="8cb9bd403e">fix
colorspace bug & support multi-gpu and multi-processing</a>
✅ <a
href="6b15fc6936">Added
GPU selection feature to python inference</a>
✅ <a
href="e5e79fbde3">deal
with flv format</a></p>
<p>📢📢📢</p>
<p><a
href="https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth">https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-x4v3.pth</a></p>
<p><a
href="https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-wdn-x4v3.pth">https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.5.0/realesr-general-wdn-x4v3.pth</a></p>
<!-- raw HTML omitted -->
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fa4c8a03ae"><code>fa4c8a0</code></a>
add github release workflow, v0.3.0</li>
<li><a
href="37a7c5726d"><code>37a7c57</code></a>
update readme, v0.2.9</li>
<li><a
href="382d5be582"><code>382d5be</code></a>
Merge branch 'master' of github.com:xinntao/Real-ESRGAN</li>
<li><a
href="61e81d3108"><code>61e81d3</code></a>
update inference_video: support auto download</li>
<li><a
href="8f5744bc51"><code>8f5744b</code></a>
Update README.md - Added Upscayl under GUI Apps list (<a
href="https://github-redirect.dependabot.com/xinntao/Real-ESRGAN/issues/423">#423</a>)</li>
<li>See full diff in <a
href="https://github.com/xinntao/Real-ESRGAN/compare/v0.2.8...v0.3.0">compare
view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=realesrgan&package-manager=pip&previous-version=0.2.8&new-version=0.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
1. The update to Streamlit 1.13 has bee mirrored
2. Streamlit needs to be in Headless mode so it doesn't pester about
wanting an email on startup, which crashes in docker since there's no
stdin
3. Fixed an issue where opencv-python from the base image was not
allowing us to override it with opencv-python-headless, which is
required because of its lack of runtime DLLs (+ it's smaller)
* Restore --config. This will be useful when you have an init config
that you don't want overwritten.
* Cache the individual transformed images in TextualInversionDataset.
This gains speed by avoiding reading and reprocessing the image each
time it's used for training.
* Turn on no_grad for inference and clean up tensors during
checkpointing. This reduces memory usage slightly.
* Set the sample output size to 384x384. We just need them large enough
for manual evaluation, and this gains us a decent chunk of speed.
* (breaking change) Custom templates are now semicolon-delineated.
Additionally, custom templates are properly passed through to
TextualInversionDataset to generate input_ids for your images. Using
custom templates which accurately describe your input images seems to
improve training fidelity.
* Cache autoencoding of image pixel data. This substantially increases
the speed of training, upwards of 40% for me.
* Clean up a little bit of cruft.