Add workaround low memory crash during image saving

Sample model moved to cpu before processing samples to image
This commit is contained in:
ArDiouscuros
2022-09-24 10:29:06 +02:00
committed by Lincoln Stein
parent b40bfb5116
commit 485fe67c92
4 changed files with 17 additions and 0 deletions

View File

@ -108,6 +108,8 @@ def main():
# preload the model
gen.load_model()
#set additional option
gen.free_gpu_mem = opt.free_gpu_mem
if not infile:
print(