-
Notifications
You must be signed in to change notification settings - Fork 3
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
Doc Update Request:教程更新请求 #15
Comments
|
|
|
|
|
|
|
|
|
|
根据这里面https://github.com/dwbuiten/d2vsource/issues/40的说法,刚刚这个偏色问题是这样导致的:
- 一个未知编码器使用16-255范围压制该视频到yuv 420p 10bit,理论上它应该被标注成tv色彩范围,但是被错误地标注为pc(full range)。这个视频的色彩范围标签被错误地标注为pc。
- SVFI处理这个视频,完成YUV到RGB转换的时候,使用错误的色彩范围标签信息,用0-255范围解析16-255内容,导致黑色显得更白,白色更深(因为本来16的黑色在0-255范围下就是非纯黑)。
- 但如果强行指定SVFI的色彩转换曲线到bt709,刚好我写死的是用tv色彩范围去解析视频内容(也就是YUV到RGB这步的转换),这样出来就没有偏色。
- 综上,这是又一例经典的信息错误视频导致的偏色问题,具有一定专业性、代表性,不指望正常用户能够自行解决。github的这个issue讨论给出了彻底的解决方案(内置一个直方图分析仪),对当前预处理已经非常慢的SVFI来说不现实,因此又要写教程了( |
|
|
|
|
|
### 转移分辨率比
先按用户设置的百分比缩放原视频,之后再进行超分。即预缩放功能。
> 例:原视频1920x1080,若转移分辨率比为50%, 模型放大倍数为4x
那么软件运行过程为: 1920x1080(输入) -> 960x540(下缩放) ->3840x2160(超分辨率)
::: tip
- 若转移分辨率设置为AUTO,那么转移分辨率会被设置为`输出倍数` / `模型放大倍数`。
- 例1:若输入视频分辨率为1920x1080,输出分辨率为3840x2160,计算得到输出倍数为200%,模型放大倍数若为2x,那么转移分辨率会被自动设置为100%;
- 例2:若输入视频分辨率为1920x1080,输出分辨率为1920x1080,计算得到输出倍数为100%,模型放大倍数若为2x,那么转移分辨率会被自动设置为50%;超分仍然会执行。
- 对于恢复模型,转移分辨率会被设置为100%
::: |
|
SVFI 6.8.16 Beta 版本更新公告
SVFI 6.8.16 Beta Update Announcement
- (Pro) 新增SPAN架构超分类别,当前所有模型用于真人超分。所有模型均在[OpenModelDB网站](https://openmodeldb.info/?t=arch%3Aspan)上开源,可以在该网站下载类似的模型并复制到models\\sr\\SPAN\\models文件夹下供SVFI调用,权重文件pth需要包含span以及2x或4x两个字符串以标识超分模型。
- (Pro) Added a new SPAN architecture category for super-resolution. All current models are used for real-world footage. All models are open-sourced on the [OpenModelDB](https://openmodeldb.info/?t=arch%3Aspan) website. Similar models can be downloaded from this site and copied to the models\\sr\\SPAN\\models folder. The weight file (.pth) needs to contain the strings "span" and either "2x" or "4x" to identify the super-resolution model.
- (Pro) 新增Compact(SRVGGCompact)架构超分类别。带有multijpg、LSDIR字样的模型用于真人超分,其他模型用于动漫超分。所有模型均在[OpenModelDB网站](https://openmodeldb.info/?t=arch%3Acompact)上开源,可以在该网站上下载类似的模型并复制到models\\sr\\Compact\\models文件夹下供SVFI调用,权重文件pth需要包含compact以及2x或4x两个字符串以标识超分模型。
- (Pro) Added a new Compact (SRVGGCompact) architecture category for super-resolution. Models with "multijpg" and "LSDIR" are used for super-resolution of real-world footage, while other models are for anime super-resolution. All models are open-sourced on the [OpenModelDB](https://openmodeldb.info/?t=arch%3Acompact) website. Similar models can be downloaded from this site and copied to the models\\sr\\Compact\\models folder for SVFI use. The weight file (.pth) needs to contain "compact" and either "2x" or "4x" to identify the super-resolution model.
- (Pro) 用于动漫超分的AnimeJanai(仅用于测试)模型被移至Compact算法栏目下
- (Pro) The AnimeJanai model (used only for testing) for anime super-resolution has been moved to the Compact algorithm section.
- (Pro) 新增通用补帧算法模型RIFE 4.14
- (Pro) Added a new general VFI model of RIFE 4.14. |
|
|
|
|
|
|
其中与SVFI兼容的有Compact,(Real-)CUGAN(未测试),ESRGAN(未测试),SPAN,ONNX(TensorRT)。我计划新增HAT和OmniSR。 以下以新增Compact和TensorRT模型说明。
|
|
|
|
|
|
|
|
|
|
|
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: