mirror of
				https://github.com/k4yt3x/video2x.git
				synced 2025-11-03 22:21:37 +01:00 
			
		
		
		
	finished adding comments for all drivers
This commit is contained in:
		
							parent
							
								
									c198082190
								
							
						
					
					
						commit
						a295b4a54f
					
				
							
								
								
									
										102
									
								
								src/video2x.yaml
									
									
									
									
									
								
							
							
						
						
									
										102
									
								
								src/video2x.yaml
									
									
									
									
									
								
							@ -1,53 +1,59 @@
 | 
				
			|||||||
 | 
					# Name: Video2X Configuration File
 | 
				
			||||||
 | 
					# Creator: K4YT3X
 | 
				
			||||||
 | 
					# Date Created: October 23, 2018
 | 
				
			||||||
 | 
					# Last Modified: May 7, 2020
 | 
				
			||||||
 | 
					# Items commented out are parameters handled by Video2x.
 | 
				
			||||||
waifu2x_caffe:
 | 
					waifu2x_caffe:
 | 
				
			||||||
  path: '%LOCALAPPDATA%\video2x\waifu2x-caffe\waifu2x-caffe-cui'
 | 
					  path: '%LOCALAPPDATA%\video2x\waifu2x-caffe\waifu2x-caffe-cui'
 | 
				
			||||||
  input_extention_list: null
 | 
					  tta: 0 # <0|1> 8x slower and slightly high quality
 | 
				
			||||||
  output_extention: null
 | 
					  gpu: 0 # gpu device no
 | 
				
			||||||
  mode: noise_scale
 | 
					  batch_size: 1 # input batch size
 | 
				
			||||||
  scale_ratio: null
 | 
					  crop_h: null # input image split size(height)
 | 
				
			||||||
  scale_width: null
 | 
					  crop_w: null # input image split size(width)
 | 
				
			||||||
  scale_height: null
 | 
					  crop_size: 128 # input image split size
 | 
				
			||||||
  noise_level: 3
 | 
					  output_depth: 8 # output image chaneel depth bit
 | 
				
			||||||
  process: gpu
 | 
					  output_quality: -1 # output image quality
 | 
				
			||||||
  crop_size: 128
 | 
					  process: gpu # <cpu|gpu|cudnn> process mode
 | 
				
			||||||
  output_quality: -1
 | 
					  model_dir: null # path to custom model directory (don't append last / )
 | 
				
			||||||
  output_depth: 8
 | 
					  #scale_height: null # custom scale height
 | 
				
			||||||
  batch_size: 1
 | 
					  #scale_width: null # custom scale width
 | 
				
			||||||
  gpu: 0
 | 
					  #scale_ratio: null # custom scale ratio
 | 
				
			||||||
  tta: 0
 | 
					  noise_level: 3 # <0|1|2|3> noise reduction level
 | 
				
			||||||
  input_path: null
 | 
					  mode: noise_scale # <noise|scale|noise_scale|auto_scale> image processing mode
 | 
				
			||||||
  output_path: null
 | 
					  output_extention: null # extention to output image file when output_path is (auto) or input_path is folder
 | 
				
			||||||
  model_dir: null
 | 
					  input_extention_list: null # extention to input image file when input_path is folder
 | 
				
			||||||
  crop_w: null
 | 
					  #output_path: null # path to output image file (when input_path is folder, output_path must be folder)
 | 
				
			||||||
  crop_h: null
 | 
					  #input_path: null # (required) path to input image file
 | 
				
			||||||
waifu2x_converter_cpp:
 | 
					waifu2x_converter_cpp:
 | 
				
			||||||
  path: '%LOCALAPPDATA%\video2x\waifu2x-converter-cpp\waifu2x-converter-cpp'
 | 
					  path: '%LOCALAPPDATA%\video2x\waifu2x-converter-cpp\waifu2x-converter-cpp'
 | 
				
			||||||
  # list-supported-formats: null
 | 
					  #list-supported-formats: null # dump currently supported format list
 | 
				
			||||||
  # list-opencv-formats: null
 | 
					  #list-opencv-formats: null # (deprecated. Use --list-supported-formats) dump opencv supported format list
 | 
				
			||||||
  # list-processor
 | 
					  #list-processor # dump processor list
 | 
				
			||||||
  output-format: null
 | 
					  output-format: null # The format used when running in recursive/folder mode
 | 
				
			||||||
  png-compression: 5
 | 
					  png-compression: 5 # Set PNG compression level (0-9), 9 = Max compression (slowest & smallest)
 | 
				
			||||||
  image-quality: -1
 | 
					  image-quality: -1 # JPEG & WebP Compression quality (0-101, 0 being smallest size and lowest quality), use 101 for lossless WebP
 | 
				
			||||||
  block-size: 0
 | 
					  block-size: 0 # block size
 | 
				
			||||||
  disable-gpu: false
 | 
					  disable-gpu: false # disable GPU
 | 
				
			||||||
  force-OpenCL: false
 | 
					  force-OpenCL: false # force to use OpenCL on Intel Platform
 | 
				
			||||||
  processor: -1
 | 
					  processor: -1 # set target processor
 | 
				
			||||||
  jobs: 0
 | 
					  #jobs: 0 # number of threads launching at the same time
 | 
				
			||||||
  model-dir: null # models_rgb
 | 
					  model-dir: null # path to custom model directory (don't append last / ) default: models_rgb 
 | 
				
			||||||
  scale-ratio: 2.0
 | 
					  #scale-ratio: 2.0 # custom scale ratio
 | 
				
			||||||
  noise-level: 1
 | 
					  noise-level: 1 # <0|1|2|3> noise reduction level
 | 
				
			||||||
  mode: noise-scale
 | 
					  mode: noise-scale # <noise|scale|noise-scale> image processing mode
 | 
				
			||||||
  log-level: 1
 | 
					  log-level: 1 # <0|1|2|3|4> Set log level
 | 
				
			||||||
  silent: true
 | 
					  silent: true # Enable silent mode. (same as --log-level 1)
 | 
				
			||||||
  tta: 0
 | 
					  tta: 0 # Enable Test-Time Augmentation mode. (0 or 1)
 | 
				
			||||||
  # generate-subdir: 0
 | 
					  #generate-subdir: 0 # Generate sub folder when recursive directory is enabled.
 | 
				
			||||||
  # recursive-directory: 0
 | 
					  #auto-naming: 0 # Add postfix to output name when output path is not specified.
 | 
				
			||||||
  output: null
 | 
					  #recursive-directory: 0 # Search recursively through directories to find more images to process.
 | 
				
			||||||
  input: null
 | 
					  #output: null # path to output image file or directory  (you should use the full path)
 | 
				
			||||||
 | 
					  #input: null # (required) path to input image file or directory (you should use the full path)
 | 
				
			||||||
waifu2x_ncnn_vulkan:
 | 
					waifu2x_ncnn_vulkan:
 | 
				
			||||||
  path: '%LOCALAPPDATA%\video2x\waifu2x-ncnn-vulkan\waifu2x-ncnn-vulkan'
 | 
					  path: '%LOCALAPPDATA%\video2x\waifu2x-ncnn-vulkan\waifu2x-ncnn-vulkan'
 | 
				
			||||||
  v: null # verbose output
 | 
					  v: null # verbose output
 | 
				
			||||||
  i: null # input-path: input image path (jpg/png) or directory
 | 
					  #i: null # input-path: input image path (jpg/png) or directory
 | 
				
			||||||
  o: null # output-path: output image path (png) or directory
 | 
					  #o: null # output-path: output image path (png) or directory
 | 
				
			||||||
  'n': 2 # noise-level: denoise level (-1/0/1/2/3, default=0)
 | 
					  'n': 2 # noise-level: denoise level (-1/0/1/2/3, default=0)
 | 
				
			||||||
  s: 2 # scale: upscale ratio (1/2, default=2)
 | 
					  s: 2 # scale: upscale ratio (1/2, default=2)
 | 
				
			||||||
  t: 400 # tile-size: tile size (>=32, default=400)
 | 
					  t: 400 # tile-size: tile size (>=32, default=400)
 | 
				
			||||||
@ -58,8 +64,8 @@ waifu2x_ncnn_vulkan:
 | 
				
			|||||||
srmd_ncnn_vulkan:
 | 
					srmd_ncnn_vulkan:
 | 
				
			||||||
  path: '%LOCALAPPDATA%\video2x\srmd-ncnn-vulkan\srmd-ncnn-vulkan'
 | 
					  path: '%LOCALAPPDATA%\video2x\srmd-ncnn-vulkan\srmd-ncnn-vulkan'
 | 
				
			||||||
  v: null # verbose output
 | 
					  v: null # verbose output
 | 
				
			||||||
  i: null # input-path: input image path (jpg/png) or directory
 | 
					  #i: null # input-path: input image path (jpg/png) or directory
 | 
				
			||||||
  o: null # output-path: output image path (png) or directory
 | 
					  #o: null # output-path: output image path (png) or directory
 | 
				
			||||||
  'n': 3 # noise-level: denoise level (-1/0/1/2/3/4/5/6/7/8/9/10, default=3)
 | 
					  'n': 3 # noise-level: denoise level (-1/0/1/2/3/4/5/6/7/8/9/10, default=3)
 | 
				
			||||||
  s: 2 # upscale ratio (2/3/4, default=2)
 | 
					  s: 2 # upscale ratio (2/3/4, default=2)
 | 
				
			||||||
  t: 400 # tile-size: tile size (>=32, default=400)
 | 
					  t: 400 # tile-size: tile size (>=32, default=400)
 | 
				
			||||||
@ -69,14 +75,14 @@ srmd_ncnn_vulkan:
 | 
				
			|||||||
  x: false # enable tta mode
 | 
					  x: false # enable tta mode
 | 
				
			||||||
anime4kcpp:
 | 
					anime4kcpp:
 | 
				
			||||||
  path: '%LOCALAPPDATA%\video2x\anime4kcpp\CLI\Anime4KCPP_CLI\Anime4KCPP_CLI'
 | 
					  path: '%LOCALAPPDATA%\video2x\anime4kcpp\CLI\Anime4KCPP_CLI\Anime4KCPP_CLI'
 | 
				
			||||||
  input: null # File for loading (string [=./pic/p1.png])
 | 
					  #input: null # File for loading (string [=./pic/p1.png])
 | 
				
			||||||
  output: null # File for outputting (string [=output.png])
 | 
					  #output: null # File for outputting (string [=output.png])
 | 
				
			||||||
  passes: 2 # Passes for processing (int [=2])
 | 
					  passes: 2 # Passes for processing (int [=2])
 | 
				
			||||||
  pushColorCount: 2 # Limit the number of color pushes (int [=2])
 | 
					  pushColorCount: 2 # Limit the number of color pushes (int [=2])
 | 
				
			||||||
  strengthColor: 0.3 # Strength for pushing color,range 0 to 1,higher for thinner (double [=0.3])
 | 
					  strengthColor: 0.3 # Strength for pushing color,range 0 to 1,higher for thinner (double [=0.3])
 | 
				
			||||||
  strengthGradient: 1.0 # Strength for pushing gradient,range 0 to 1,higher for sharper (double [=1])
 | 
					  strengthGradient: 1.0 # Strength for pushing gradient,range 0 to 1,higher for sharper (double [=1])
 | 
				
			||||||
  zoomFactor: 2.0 # zoom factor for resizing (double [=2])
 | 
					  zoomFactor: 2.0 # zoom factor for resizing (double [=2])
 | 
				
			||||||
  threads: 16 # Threads count for video processing (unsigned int [=16])
 | 
					  #threads: 16 # Threads count for video processing (unsigned int [=16])
 | 
				
			||||||
  fastMode: false # Faster but maybe low quality
 | 
					  fastMode: false # Faster but maybe low quality
 | 
				
			||||||
  videoMode: true # Video process
 | 
					  videoMode: true # Video process
 | 
				
			||||||
  preview: null # Preview image
 | 
					  preview: null # Preview image
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user