question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ModuleNotFoundError: No module named 'dalle_pytorch'

See original GitHub issue

Received this error after following instructions to run sampling:

python sample.py --model_path finetune.pt --batch_size 6 --text "a cyberpunk girl with a scifi neuralink device on her head | cyberpunk anime girl"
Traceback (most recent call last):
  File "sample.py", line 19, in <module>
    from dalle_pytorch import DiscreteVAE, VQGanVAE
ModuleNotFoundError: No module named 'dalle_pytorch'

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
wolfgangmeyerscommented, May 2, 2022

I updated to pytorch 1.11. And the sampling is working! Thanks for the help.

2reactions
wolfgangmeyerscommented, May 2, 2022

I created a couple of output folders, and got the sampling working. Probably worth adding (if not exists, create folder) logic, and updating the docs to mention need for updated pytorch (latent diffusion installs an old version)

Read more comments on GitHub >

github_iconTop Results From Across the Web

dalle-pytorch - PyPI
DALL-E - Pytorch. ... pip install dalle-pytorch. Copy PIP instructions ... The author of this package has not provided a project description ...
Read more >
DALL-E in Pytorch - GitHub
The dataset I am currently working with contains a folder of images and text files, arbitraily nested in subfolders, where text file name...
Read more >
How can I fix this pytorch error on Windows ...
Another beginner error I encountered when started to use pytorch in anaconda environment import torch ModuleNotFoundError: No module named ...
Read more >
ModuleNotFoundError: No module named 'tools.nnwrap'
I am trying to install PyTorch but every time it throws the same error ( ModuleNotFoundError: No module named 'tools.nnwrap').
Read more >
ModuleNotFoundError: No module named 'pytorch'
After the installation of pytorch python library, ModuleNotFoundError: No module named 'pytorch' error will be solved. Thanks. Post Answer.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found