MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / __init__

Method __init__

diffsynth/processors/RIFE.py:8–18  ·  view source on GitHub ↗
(self, model, device="cuda", scale=1.0, batch_size=4, interpolate=True)

Source from the content-addressed store, hash-verified

6
7class RIFESmoother(VideoProcessor):
8 def __init__(self, model, device="cuda", scale=1.0, batch_size=4, interpolate=True):
9 self.model = model
10 self.device = device
11
12 # IFNet only does not support float16
13 self.torch_dtype = torch.float32
14
15 # Other parameters
16 self.scale = scale
17 self.batch_size = batch_size
18 self.interpolate = interpolate
19
20 @staticmethod
21 def from_model_manager(model_manager, **kwargs):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected