Comments (3)
I'm noticing similar things as well. The temp folders aren't deleted, especially if the program throws an exception. I should make a except
statement wrapping the whole program, so in case the program fails, the garbages will be purged.
As for now, the temp folder is generated by tempfile.mkdtemp
.
Should I just make a value in the config file that will allow you to specify where the temp folder is?
from video2x.
Adding a value to the config file would be ideal because my SSD has limited space.
from video2x.
@AusNaminator I have added the function to specify the cache folder location. You can also choose to preserve the extracted/upscaled frames.
from video2x.
Related Issues (20)
- What's up with those indian streetshitters?
- Command '['E:\\Загрузки\\video2x-4.8.1-win32-full\\dependencies\\waifu2x-ncnn-vulkan\\waifu2x-ncnn-vulkan', '-n', '2', '-s', '2', '-t', '400', '-m', 'E:\\Загрузки\\video2x-4.8.1-win32-full\\dependencies\\waifu2x-ncnn-vulkan\\models-cunet', '-g', '0', '-j', '1:1:1', '-f', 'png', '-i', 'C:\\Users\\neiko\\AppData\\Local\\Temp\\video2x\\tmpexr0ejyz', '-o', 'C:\\Users\\neiko\\AppData\\Local\\Temp\\video2x\\tmptp_s0atn']' returned non-zero exit status 3221225781.
- invalid literal for int() with base 10: ''
- Bug: Interpolation arguments parsing errors HOT 1
- How to use custom config with the docker container image.
- Video2x needs the ability to process a list of folders with each folder in different resolutions and you should set a pause between files for your overheating GPU.
- Command '['C:\\Users\\USER\\Desktop\\video2x-4.8.1-win32-full\\dependencies\\waifu2x-caffe\\waifu2x-caffe-cui', '--tta', '0', '--gpu', '0', '--batch_size', '1', '--crop_size', '128', '--output_depth', '24', '--output_quality', '-1', '--process', 'gpu', '--model_dir', 'C:\\Users\\USER\\Desktop\\video2x-4.8.1-win32-full\\dependencies\\waifu2x-caffe\\models\\upconv_7_anime_style_art_rgb', '--noise_level', '3', '--mode', 'noise_scale', '--output_extention', 'png', '--scale_width', '1280', '--scale_height', '960', '--input_path', 'C:\\Users\\USER\\AppData\\Local\\Temp\\video2x\\tmpw5w7yujg\\0', '--output_path', 'C:\\Users\\USER\\AppData\\Local\\Temp\\video2x\\tmp159x_ymr']' returned non-zero exit status 1.
- Error: 'video2x.upscale(input_file, output_file' & 'get basic video information'
- Command '['C:\\Users\\arzum\\OneDrive\\Рабочий стол\\video2x-4.8.1-win32-full\\dependencies\\waifu2x-caffe\\waifu2x-caffe-cui', '--tta', '0', '--gpu', '0', '--batch_size', '1', '--crop_size', '128', '--output_depth', '24', '--output_quality', '-1', '--process', 'gpu', '--model_dir', 'C:\\Users\\arzum\\OneDrive\\Рабочий стол\\video2x-4.8.1-win32-full\\dependencies\\waifu2x-caffe\\models\\cunet', '--noise_level', '3', '--mode', 'noise_scale', '--output_extention', 'png', '--scale_width', '1440', '--scale_height', '1080', '--input_path', 'C:\\Users\\arzum\\AppData\\Local\\Temp\\video2x\\tmpgja_t4mj\\0', '--output_path', 'C:\\Users\\arzum\\AppData\\Local\\Temp\\video2x\\tmp_gvqc1tv']' returned non-zero exit status 1.
- Automatically delete original file immediately after processing original file successfully - optional feature requirement HOT 1
- Command '['C:\\Users\\Md Rasel\\Downloads\\video2x-4.8.1-win32-full\\video2x-4.8.1-win32-full\\dependencies\\waifu2x-ncnn-vulkan\\waifu2x-ncnn-vulkan', '-n', '2', '-s', '2', '-t', '400', '-m', 'C:\\Users\\Md Rasel\\Downloads\\video2x-4.8.1-win32-full\\video2x-4.8.1-win32-full\\dependencies\\waifu2x-ncnn-vulkan\\models-cunet', '-g', '0', '-j', '1:1:1', '-f', 'png', '-i', 'C:\\Users\\MDRASE~1\\AppData\\Local\\Temp\\video2x\\tmp_9rr4wmq', '-o', 'C:\\Users\\MDRASE~1\\AppData\\Local\\Temp\\video2x\\tmp_ha7k59f']' returned non-zero exit status 3221225781.
- When i try to upscale an image or video, it shows returned non zeroexit status 259
- C:\Windows\system32\dependencies\ffmpeg\bin
- Command '['D:\\DOWNLOAD\\video2x-4.8.1-win32-full\\dependencies\\realsr-ncnn-vulkan\\realsr-ncnn-vulkan', '-s', '4', '-t', '0', '-m', 'D:\\DOWNLOAD\\video2x-4.8.1-win32-full\\dependencies\\realsr-ncnn-vulkan\\models-DF2K_JPEG', '-g', '0', '-j', '1:1:1', '-f', 'png', '-i', 'C:\\Users\\chris\\AppData\\Local\\Temp\\video2x\\tmp4egb3jec', '-o', 'C:\\Users\\chris\\AppData\\Local\\Temp\\video2x\\tmp0mppbb7q']' returned non-zero exit status 3221226505.
- GUI might need some work
- 'NoneType' object has no attribute 'split'.
- 'NoneType' object has no attribute 'split'
- TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'
- Command '['dependencies\\ffmpeg\\bin\\ffmpeg', '-hwaccel', 'auto', '-y', '-i', 'C:\\Users\\azeem\\OneDrive\\Documents\\ytvideos (and oh, sources for recreations)\\GA_MOVIE.mp4', '-pix_fmt', 'rgb24', 'C:\\Users\\azeem\\AppData\\Local\\Temp\\video2x\\tmp9s2n0je4\\extracted_%0d.png']' returned non-zero exit status 1. HOT 1
- WSL2 Docker Exception: process died unexpectedly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from video2x.