Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO off
- :: Get and setup
- :: IntelOIDenoiser (CPU must support SSE4.1)
- :: https://github.com/DeclanRussell/IntelOIDenoiser
- :: OR
- :: NvidiaAIDenoiser (Maxwell GPU or newer architecture with 418.xx or newer driver)
- :: https://github.com/DeclanRussell/NvidiaAIDenoiser
- ::
- :: Change dn_path to location of denoiser on your computer
- :: uncomment dn_path2 if you wish to compare both denoisers.
- ::
- :: Drag and drop one or more .pngs onto this .bat file to denoise them.
- SET dn_path="C:\Denoiser_v2.3\denoiser.exe"
- ::SET dn_path2="C:\Denoiser_v1.1\Denoiser.exe"
- :Loop
- IF "%1"=="" GOTO Continue
- ECHO %1
- FOR /F "tokens=1,2 delims=. " %%a IN ("%1") DO (
- %dn_path% -i %1 -o %%a_dn.%%b
- :: %dn_path2% -i %1 -o %%a_dn2.%%b
- )
- SHIFT
- GOTO Loop
- :Continue
- ECHO .
- ECHO == END ==
- ECHO .
- PAUSE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement