Eventually the python script just stops - but when I ctrl + c out of it - the following is printed
File "/home/baaleos/deforum/DeforumStableDiffusionLocal/run.py", line 1312, in <module> main() File "/home/baaleos/deforum/DeforumStableDiffusionLocal/run.py", line 1250, in main render_animation(args, anim_args) File "/home/baaleos/deforum/DeforumStableDiffusionLocal/run.py", line 1071, in render_animation sample, image = generate(args, return_latent=False, return_sample=True) File "/home/baaleos/deforum/DeforumStableDiffusionLocal/run.py", line 457, in generate samples = sampler_fn( File "stable-diffusion/helpers/k_samplers.py", line 65, in sampler_fn samples = sampler_map[args.sampler](**sampler_args) File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context return func(*args, **kwargs) File "k-diffusion/k_diffusion/sampling.py", line 186, in sample_lms for i in trange(len(sigmas) - 1, disable=disable): File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/tqdm/std.py", line 1541, in trange return tqdm(_range(*args), **kwargs) File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/tqdm/std.py", line 1107, in __init__ self.sp = self.status_printer(self.fp) File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/tqdm/std.py", line 340, in status_printer getattr(sys.stdout, 'flush', lambda: None)() KeyboardInterrupt Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe (ldm) baaleos@ragnarokbuild:~/Aeoria/ArtService/ArtService$ Exception ignored in: <function tqdm.__del__ at 0x7f226f55d310> Traceback (most recent call last): File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/tqdm/std.py", line 1162, in __del__ self.close() File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/tqdm/std.py", line 1291, in close if self.last_print_t < self.start_t + self.delay: AttributeError: 'tqdm' object has no attribute 'last_print_t'
In this particular run - it got as far as frame 428 out of a requested 720
7 prompts were requested with roughly 120 frames for each prompt -1
Eventually the python script just stops - but when I ctrl + c out of it - the following is printed
File "/home/baaleos/deforum/DeforumStableDiffusionLocal/run.py", line 1312, in <module> main() File "/home/baaleos/deforum/DeforumStableDiffusionLocal/run.py", line 1250, in main render_animation(args, anim_args) File "/home/baaleos/deforum/DeforumStableDiffusionLocal/run.py", line 1071, in render_animation sample, image = generate(args, return_latent=False, return_sample=True) File "/home/baaleos/deforum/DeforumStableDiffusionLocal/run.py", line 457, in generate samples = sampler_fn( File "stable-diffusion/helpers/k_samplers.py", line 65, in sampler_fn samples = sampler_map[args.sampler](**sampler_args) File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context return func(*args, **kwargs) File "k-diffusion/k_diffusion/sampling.py", line 186, in sample_lms for i in trange(len(sigmas) - 1, disable=disable): File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/tqdm/std.py", line 1541, in trange return tqdm(_range(*args), **kwargs) File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/tqdm/std.py", line 1107, in __init__ self.sp = self.status_printer(self.fp) File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/tqdm/std.py", line 340, in status_printer getattr(sys.stdout, 'flush', lambda: None)() KeyboardInterrupt Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'> BrokenPipeError: [Errno 32] Broken pipe (ldm) baaleos@ragnarokbuild:~/Aeoria/ArtService/ArtService$ Exception ignored in: <function tqdm.__del__ at 0x7f226f55d310> Traceback (most recent call last): File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/tqdm/std.py", line 1162, in __del__ self.close() File "/home/baaleos/miniconda3/envs/ldm/lib/python3.8/site-packages/tqdm/std.py", line 1291, in close if self.last_print_t < self.start_t + self.delay: AttributeError: 'tqdm' object has no attribute 'last_print_t'
In this particular run - it got as far as frame 428 out of a requested 720
7 prompts were requested with roughly 120 frames for each prompt -1
Googling found a similar attribute error issue raised here: https://github.com/tqdm/tqdm/issues/261