ArtCNN example script #101
Unanswered
fideliochan
asked this question in
Q&A
Replies: 1 comment 2 replies
-
ref: hooke007/MPV_lazy#471 import vapoursynth as vs
import vsmlrt
clip = video_in.fmtc.bitdepth(bits=32)
clip_y = core.std.ShufflePlanes(clip, 0, vs.GRAY)
clip_y = vsmlrt.ArtCNN(clip_y, model=2, backend=vsmlrt.Backend.ORT_DML(fp16=True))
clip_uv = core.resize.Bicubic(clip, clip_y.width, clip_y.height)
clip = core.std.ShufflePlanes([clip_y, clip_uv], [0, 1, 2], vs.YUV)
clip = core.fmtc.bitdepth(clip, bits=8)
clip.set_output() |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to use it on mpv can you provide example vs script?
Beta Was this translation helpful? Give feedback.
All reactions