Closed yuvraj108c closed 9 months ago
Sounds like user error. I think you tried to input an invalid architecture version. My current code works. Look up how rife.py
specifies architectures.
def inference_clip(video_path="", clip=None):
clip = core.bs.VideoSource(source=video_path)
clip = vs.core.resize.Bicubic(clip, format=vs.RGBS, matrix_in_s="709")
model_inference = RIFE(
scale=1, fastmode=True, ensemble=False, model_version="rife46", fp16=True
)
clip = vfi_inference(
model_inference=model_inference, clip=clip, multi=2, metric_thresh=0.999
)
clip = vs.core.resize.Bicubic(clip, format=vs.YUV420P8, matrix_s="709")
return clip
As a sidenote, there already is a comfy extention which used vsgan code which is called ComfyUI-Frame-Interpolation.
Trying to run RIFE inference pytorch, but getting this error: (btw, i am trying to create a custom node for comfyui inside the docker image, upscaling trt, rife trt works for now)