Obtain the following error Prediction failed due to Missing key visualizer when I run _bash script/predict_andinpaint.sh
rm: cannot remove 'results/*': No such file or directory
rm: cannot remove 'each_step_results/*': No such file or directory
/home/ubuntu/.local/lib/python3.10/site-packages/torchvision/models/_utils.py:208: UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.
warnings.warn(
/home/ubuntu/.local/lib/python3.10/site-packages/torchvision/models/_utils.py:223: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated since 0.13 and may be removed in the future. The current behavior is equivalent to passing `weights=None`.
warnings.warn(msg)
Loading weights from checkpoint (CRAFT-pytorch/craft_mlt_25k.pth)
elapsed time : 0.2674741744995117s
Detectron v2 is not installed
[2024-02-14 21:44:24,314][saicinpainting.utils][WARNING] - Setting signal 10 handler <function print_traceback_handler at 0x7fd9e8b19c10>
[2024-02-14 21:44:24,325][__main__][CRITICAL] - Prediction failed due to Missing key visualizer
full_key: visualizer
object_type=dict:
Traceback (most recent call last):
File "/home/user/project/bin/predict.py", line 51, in main
train_config.visualizer.kind = 'noop'
File "/home/user/miniconda3/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 353, in __getattr__
self._format_and_raise(
File "/home/user/miniconda3/lib/python3.9/site-packages/omegaconf/base.py", line 191, in _format_and_raise
format_and_raise(
File "/home/user/miniconda3/lib/python3.9/site-packages/omegaconf/_utils.py", line 783, in format_and_raise
_raise(ex, cause)
File "/home/user/miniconda3/lib/python3.9/site-packages/omegaconf/_utils.py", line 681, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set end OC_CAUSE=1 for full backtrace
File "/home/user/miniconda3/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 351, in __getattr__
return self._get_impl(key=key, default_value=_DEFAULT_MARKER_)
File "/home/user/miniconda3/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 418, in _get_impl
node = self._get_node(key=key, throw_on_missing_key=True)
File "/home/user/miniconda3/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 450, in _get_node
raise ConfigKeyError(f"Missing key {key}")
omegaconf.errors.ConfigAttributeError: Missing key visualizer
full_key: visualizer
object_type=dict
Obtain the following error Prediction failed due to Missing key visualizer when I run _bash script/predict_andinpaint.sh