OSError: No file named model_index.json

Viewing 1 reply thread
  • Author
    Posts
    • #18184
      Josh23761
      Participant

        Ever time I run this the notebook it crashes with this message:

        /usr/local/lib/python3.11/dist-packages/diffusers/configuration_utils.py in load_config(cls, pretrained_model_name_or_path, return_unused_kwargs, return_commit_hash, **kwargs)
        375 config_file = os.path.join(pretrained_model_name_or_path, cls.config_name)
        376 else:
        –> 377 raise EnvironmentError(
        378 f”Error no file named {cls.config_name} found in directory {pretrained_model_name_or_path}.”
        379 )

        OSError: Error no file named model_index.json found in directory /content/output.

      • #18185
        AndrewAndrew
        Keymaster

          Hi, it looks like you are not using a supported model which should be in the diffuser format.

          Which notebook and model did you use?

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.