Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with batch processing + suggestions: #2

Open
Lincolnhsp opened this issue Sep 8, 2024 · 0 comments
Open

Issues with batch processing + suggestions: #2

Lincolnhsp opened this issue Sep 8, 2024 · 0 comments

Comments

@Lincolnhsp
Copy link

First of all, thanks for this version of SIGGRAPH17!
I see great potencial using your tool for some domestic experiences.

That said, i´d like to report the problem i´m having and see if you can help or give a suggestion.

I´m extracting frames from old B&W movies, and trying to batch processing them using your tool, instead of a Conda/Python tool.
After extracting all the frames of a movie to an external folder, i tried to batch process the files there using COLOR_GAN.

The frames were extracted with in a .bat script

md .\ext
ffmpeg -i movie.mp4 -vf "yadif" ext\frame_%%04d.png

After that i tried to process all the files there using the EXT subfolder... didn´t work.
Then i moved all the files to the application folder, and used the following script:

:: Colorize every image
set formats=*.jpg *.png
for %%g in (%formats%) do start "COLOR_GAN.exe -i" "%%g"

It worked just for the last image in the subdirectory, but maybe the problem is that the processed file is renamed to "result_colored_out.png" overwriting the other files.

I notice that it opened around 30 files in Irfanview during the process...
I guess that the other issue and the code suggested would help to avoid this, and eventual memory problems.

If you prefer i can register more information regarding features, and steps to reproduce the problem.
Directions so we can compile the tool and help you testing, would be nice too!

Thanks!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant