deforum-stable-diffusion icon indicating copy to clipboard operation
deforum-stable-diffusion copied to clipboard

Name Error

Open DarkThought666 opened this issue 2 years ago • 1 comments

how do I fix this?

NameError Traceback (most recent call last) in 115 116 args_dict = DeforumArgs() --> 117 anim_args_dict = DeforumAnimArgs() 118 119 if override_settings_with_file:

NameError: name 'DeforumAnimArgs' is not define

DarkThought666 avatar Mar 06 '23 14:03 DarkThought666


NameError Traceback (most recent call last) in 548 # dispatch to appropriate renderer 549 if anim_args.animation_mode == '2D' or anim_args.animation_mode == '3D': --> 550 render_animation(args, anim_args) 551 elif anim_args.animation_mode == 'Video Input': 552 render_input_video(args, anim_args)

in render_animation(args, anim_args) 199 predict_depths = (anim_args.animation_mode == '3D' and anim_args.use_depth_warping) or anim_args.save_depth_maps 200 if predict_depths: --> 201 depth_model = DepthModel(device) 202 depth_model.load_midas(models_path) 203 if anim_args.midas_weight < 1.0:

NameError: name 'device' is not defined

DarkThought666 avatar Mar 13 '23 23:03 DarkThought666