You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I run the prediction it finishes loading all weights but fails to run ControlNet, it accurately finds the extension, but it fails here. The extension is cloned from the repository, so no code changed there. Any suggestions?
File "/root/.pyenv/versions/3.10.4/lib/python3.10/site-packages/cog/server/worker.py", line 189, in _setup
run_setup(self._predictor)
File "/root/.pyenv/versions/3.10.4/lib/python3.10/site-packages/cog/predictor.py", line 84, in run_setup
predictor.setup()
File "/src/predict.py", line 134, in setup
self.api.img2imgapi(req)
File "/src/modules/api/api.py", line 445, in img2imgapi
processed = process_images(p)
File "/src/modules/processing.py", line 734, in process_images
res = process_images_inner(p)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/scripts/batch_hijack.py", line 56, in processing_process_images_hijack
cn_is_batch, batches, output_dir, input_file_names = get_cn_batches(p)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/scripts/batch_hijack.py", line 196, in get_cn_batches
units = external_code.get_all_units_in_processing(p)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/external_code.py", line 133, in get_all_units_in_processing
return get_all_units(p.scripts, p.script_args)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/external_code.py", line 146, in get_all_units
return get_all_units_from(script_args[cn_script.args_from : cn_script.args_to])
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/external_code.py", line 174, in get_all_units_from
all_units = [
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/external_code.py", line 175, in
to_processing_unit(script_arg)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/external_code.py", line 228, in to_processing_unit
return ControlNetUnit.from_dict(unit)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/args.py", line 420, in from_dict
return ControlNetUnit(**values)
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 2 validation errors for ControlNetUnit
resize_mode
(type=assertion_error)
control_mode
value is not a valid enumeration member; permitted: 'Balanced', 'My prompt is more important', 'ControlNet is more important' (type=type_error.enum; enum_values=[<ControlMode.BALANCED: 'Balanced'>, <ControlMode.PROMPT: 'My prompt is more important'>, <ControlMode.CONTROL: 'ControlNet is more important'>])
The text was updated successfully, but these errors were encountered:
Whenever I run the prediction it finishes loading all weights but fails to run ControlNet, it accurately finds the extension, but it fails here. The extension is cloned from the repository, so no code changed there. Any suggestions?
File "/root/.pyenv/versions/3.10.4/lib/python3.10/site-packages/cog/server/worker.py", line 189, in _setup
run_setup(self._predictor)
File "/root/.pyenv/versions/3.10.4/lib/python3.10/site-packages/cog/predictor.py", line 84, in run_setup
predictor.setup()
File "/src/predict.py", line 134, in setup
self.api.img2imgapi(req)
File "/src/modules/api/api.py", line 445, in img2imgapi
processed = process_images(p)
File "/src/modules/processing.py", line 734, in process_images
res = process_images_inner(p)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/scripts/batch_hijack.py", line 56, in processing_process_images_hijack
cn_is_batch, batches, output_dir, input_file_names = get_cn_batches(p)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/scripts/batch_hijack.py", line 196, in get_cn_batches
units = external_code.get_all_units_in_processing(p)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/external_code.py", line 133, in get_all_units_in_processing
return get_all_units(p.scripts, p.script_args)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/external_code.py", line 146, in get_all_units
return get_all_units_from(script_args[cn_script.args_from : cn_script.args_to])
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/external_code.py", line 174, in get_all_units_from
all_units = [
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/external_code.py", line 175, in
to_processing_unit(script_arg)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/external_code.py", line 228, in to_processing_unit
return ControlNetUnit.from_dict(unit)
File "/src/extensions/sd-webui-controlnet-revert-2912-unit_enable/internal_controlnet/args.py", line 420, in from_dict
return ControlNetUnit(**values)
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 2 validation errors for ControlNetUnit
resize_mode
(type=assertion_error)
control_mode
value is not a valid enumeration member; permitted: 'Balanced', 'My prompt is more important', 'ControlNet is more important' (type=type_error.enum; enum_values=[<ControlMode.BALANCED: 'Balanced'>, <ControlMode.PROMPT: 'My prompt is more important'>, <ControlMode.CONTROL: 'ControlNet is more important'>])
The text was updated successfully, but these errors were encountered: