lucidrains / DALLE-pytorch

Implementation / replication of DALL-E, OpenAI's Text to Image Transformer, in Pytorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'

goldiusleonard opened this issue · comments

I want to generate image from trained Dalle model with OpenAIDiscreteVAE, but I got this "AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'" error.

@goldiusleonard hey Goldius, it turns out the vae open sourced by OpenAI is only supported by torch versions 1.10 and under d03df6a#diff-de14bc545a066158358a9a437402f3dd731fae77a6b901274a5c9a1afcd85284R114