I keep getting these errors in Dreambooth Colab. Any ideas???
ImportError: cannot import name ‘FLAX_WEIGHTS_NAME’ from ‘transformers.utils’ (/usr/local/lib/python3.12/dist-packages/transformers/utils/init.py)
The above exception was the direct cause of the following exception:
RuntimeError Traceback (most recent call last)
/usr/local/lib/python3.12/dist-packages/diffusers/utils/import_utils.py in _get_module(self, module_name)
808 return importlib.import_module(“.” + module_name, self.name)
809 except Exception as e:
–> 810 raise RuntimeError(
811 f”Failed to import {self.name}.{module_name} because of the following error (look up to see its”
812 f” traceback):\n{e}”
RuntimeError: Failed to import diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion because of the following error (look up to see its traceback):
cannot import name ‘FLAX_WEIGHTS_NAME’ from ‘transformers.utils’ (/usr/local/lib/python3.12/dist-packages/transformers/utils/init.py)
Reply