Deoldify Vapoursynth filter - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html) +--- Forum: Small Talk (https://forum.selur.net/forum-7.html) +--- Thread: Deoldify Vapoursynth filter (/thread-3595.html) |
RE: Deoldify Vapoursynth filter - Dan64 - 15.09.2024 Hello Selur, you are right, I added these parameters in the past but I never released a new version. My intention is to rework completely the scene change methodology. I was thinking to use PySceneDetect , but I had no time to test it till now. I released a new RC2 to fix some problems related to the max_memory_frames. For unknown reasons the memory usage of ColorMNet in Vapoursynth increase exponentially, while if the same code is called in a python script (using frames saved on the disk) the memory usage is very low as described in the paper. But in Vapoursynth it is a nightmare, because this filter is taking advantage for using the frames memory and I had to adapt the code to force the filter to use only a limited number of frames. I don't have understood the reason. There is nothing on internet about this problem and it is not possible to fully debug Vapoursynth scripts. For the moment I found this solution. My be I will be able to improve the memory management, but for the moment this is the only solution that I found (try to set max_memory_frames = 0 to see the problem). Thanks, Dan RE: Deoldify Vapoursynth filter - Selur - 15.09.2024 Okay, will start again reading the function, or should I better wait a week or so before trying to adjust Hybrid to this? Cu Selur RE: Deoldify Vapoursynth filter - Selur - 15.09.2024 btw.: :param ref_weight: If enable_refmerge = True, represent the weight used to merge the reference frames. if enable_refmerge: Cu Selur RE: Deoldify Vapoursynth filter - Selur - 15.09.2024 Send you a link to a not properly working dev version for testing, totally unsure whether everything is en-/disabled as it should. Since some other stuff seems to have changed too. I thought that: clip = HAVC_main(clip=clip, EnableDeepEx=True, DeepExMethod=0, DeepExRefMerge=0) Cu Selur RE: Deoldify Vapoursynth filter - Dan64 - 15.09.2024 I like the new GUI I will test it to see if everything is Ok. Regarding the parameters ref_weight, ref_thresh they were already available in the release 4.0.0: __init__.py But has been added to handle very specific situations and it is right that are not included in the GUI. I changed HAVC_main() to include also the parameter DeepExModel (see attached RC3) so that it will be possible to select the Exemplar based model to use for colors propagation. Thanks, Dan RE: Deoldify Vapoursynth filter - Selur - 15.09.2024 Quote:But has been added to handle very specific situations and it is right that are not included in the GUI.I already did add them to the gui,... => does not seem like ColorMNet is used when calling: from vsdeoldify import HAVC_main Updated the test download (same link). Cu Selur RE: Deoldify Vapoursynth filter - Selur - 15.09.2024 Also, I'm totally unsure when Ref merge, Ref FrameDir and Reference Frames only should be enabled and set and then not. => need some details RE: Deoldify Vapoursynth filter - Dan64 - 15.09.2024 (15.09.2024, 14:26)Selur Wrote: => does not seem like ColorMNet is used when calling: I the torch cache dir are downloaded: the folder repo: facebookresearch_dinov2_main (it seems strange but torch is capable to do it) under the folder chekpoints are downloaded the following networks:
having decided to set the the torch cache under the model filter's folder, implies that Hybrid need to be installed in a writeable directory. Dan RE: Deoldify Vapoursynth filter - Selur - 15.09.2024 Quote: having decided to set the the torch cache under the model filter's folder, implies that Hybrid need to be installed in a writeable directory.ARGH,... No! The torchAddon needs to include the files. Hybrid needing to be installed into a writeable directory is a NO GO. Anything that needs to be done during runtime should not end in a program folder. Cu Selur RE: Deoldify Vapoursynth filter - Dan64 - 15.09.2024 It was a your requirement in this post: #7 and you confirmed the approach in this post: #12 I can change this behaviour, just let me know what are your requirements. Dan |