diff --git a/Code/Data/Implementations.cs b/Code/Data/Implementations.cs index c6e2bb5..b7d3838 100644 --- a/Code/Data/Implementations.cs +++ b/Code/Data/Implementations.cs @@ -9,8 +9,8 @@ namespace Flowframes.Data public static AI rifeCuda = new AI("RIFE_CUDA", "RIFE", "CUDA/Pytorch Implementation of RIFE (Nvidia Only!)", "rife-cuda", new int[] { 2, 4, 8, 16 }); public static AI rifeNcnn = new AI("RIFE_NCNN", "RIFE (NCNN)", "Vulkan/NCNN Implementation of RIFE", "rife-ncnn", new int[] { 2, 4, 8 }, true); public static AI flavrCuda = new AI("FLAVR_CUDA", "FLAVR", "Experimental Pytorch Implementation of FLAVR (Nvidia Only!)", "flavr-cuda", new int[] { 2, 4, 8 }); - public static AI dainNcnn = new AI("DAIN_NCNN", "DAIN (NCNN)", "Vulkan/NCNN Implementation of DAIN", "dain-ncnn", new int[] { 2, 4, 8 }); - public static AI xvfiCuda = new AI("XVFI_CUDA", "XVFI", "CUDA / Pytorch Implementation of XVFI (Nvidia Only!)", "xvfi-cuda", new int[] { 2, 3, 4, 5, 6, 7, 8, 9, 10 }); + public static AI dainNcnn = new AI("DAIN_NCNN", "DAIN (NCNN)", "Vulkan/NCNN Implementation of DAIN", "dain-ncnn", new int[] { 2, 3, 4, 5, 6, 7, 8 }); + public static AI xvfiCuda = new AI("XVFI_CUDA", "XVFI", "CUDA/Pytorch Implementation of XVFI (Nvidia Only!)", "xvfi-cuda", new int[] { 2, 3, 4, 5, 6, 7, 8, 9, 10 }); public static List networks = new List(); diff --git a/Code/OS/AiProcess.cs b/Code/OS/AiProcess.cs index c4223e0..b03312d 100644 --- a/Code/OS/AiProcess.cs +++ b/Code/OS/AiProcess.cs @@ -435,22 +435,22 @@ namespace Flowframes Stopwatch sw = new Stopwatch(); sw.Restart(); - if (line.Contains("iVBOR")) - { - try - { - string[] split = line.Split(':'); - //MemoryStream stream = new MemoryStream(Convert.FromBase64String(split[1])); - //Image img = Image.FromStream(stream); - Logger.Log($"Received image {split[0]} in {sw.ElapsedMilliseconds} ms", true); - } - catch (Exception e) - { - Logger.Log($"Failed to decode b64 string - {e}:"); - Logger.Log(line); - } - return; - } + //if (line.Contains("iVBOR")) + //{ + // try + // { + // string[] split = line.Split(':'); + // //MemoryStream stream = new MemoryStream(Convert.FromBase64String(split[1])); + // //Image img = Image.FromStream(stream); + // Logger.Log($"Received image {split[0]} in {sw.ElapsedMilliseconds} ms", true); + // } + // catch (Exception e) + // { + // Logger.Log($"Failed to decode b64 string - {e}:"); + // Logger.Log(line); + // } + // return; + //} lastLogName = logFilename; Logger.Log(line, true, false, logFilename);