mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-21 18:59:26 +01:00
Added 3x/5x/6x/7x for DAIN NCNN
This commit is contained in:
@@ -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<AI> networks = new List<AI>();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user