LAION-AI/dalle2-laion

gradio_inference: DuplicateBlockError

divastar opened this issue · 2 comments

Hi. Thank you for sharing.
I got this error while trying to run the inference:
raise DuplicateBlockError(
gradio.exceptions.DuplicateBlockError: At least one block in this Blocks has already been rendered.

Could you advise about that?
Than you

nousr commented

the colab notebook is outdated, please use the inference pipeline instead

Hi. Thank you for your response.
I tried to run the python example_inference.py dream
but it would always give me a warning WARNING: This decoder was trained on version 1.1.0 but the current version is 1.11.1. This may result in the model failing to load.
and will produce garbage results:
image
(I definitely installed version 1.1.0 and not 1.11.1)
Is there a way around this?
Thank you