mirror of
				https://github.com/k4yt3x/video2x.git
				synced 2025-11-04 14:41:35 +01:00 
			
		
		
		
	patching waifu2x-converter-cpp libw2xc.so not found issue
This commit is contained in:
		
							parent
							
								
									6e1315f2ed
								
							
						
					
					
						commit
						1eba4f2187
					
				@ -4,7 +4,7 @@
 | 
				
			|||||||
Name: Waifu2x Converter CPP Driver
 | 
					Name: Waifu2x Converter CPP Driver
 | 
				
			||||||
Author: K4YT3X
 | 
					Author: K4YT3X
 | 
				
			||||||
Date Created: February 8, 2019
 | 
					Date Created: February 8, 2019
 | 
				
			||||||
Last Modified: June 7, 2020
 | 
					Last Modified: June 13, 2020
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Description: This class is a high-level wrapper
 | 
					Description: This class is a high-level wrapper
 | 
				
			||||||
for waifu2x-converter-cpp.
 | 
					for waifu2x-converter-cpp.
 | 
				
			||||||
@ -82,6 +82,10 @@ class WrapperMain:
 | 
				
			|||||||
            threads {int} -- number of threads
 | 
					            threads {int} -- number of threads
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        # waifu2x-converter-cpp cannot fine libw2xc.so under Linux
 | 
				
			||||||
 | 
					        # if the working directory is not waifu2x-converter-cpp's directory
 | 
				
			||||||
 | 
					        os.chdir(pathlib.Path(self.driver_settings['path']).parent)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # overwrite config file settings
 | 
					        # overwrite config file settings
 | 
				
			||||||
        self.driver_settings['input'] = input_directory
 | 
					        self.driver_settings['input'] = input_directory
 | 
				
			||||||
        self.driver_settings['output'] = output_directory
 | 
					        self.driver_settings['output'] = output_directory
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user