Skip to content

ModuleNotFoundError: No module named 'ncsn' #9

@staguchi0703

Description

@staguchi0703
[/usr/local/lib/python3.11/dist-packages/py_img_gen/trainers/diffusion.py](https://localhost:8080/#) in <module>
      9 )
     10 from diffusers.utils import make_image_grid
---> 11 from ncsn.scheduler import AnnealedLangevinDynamicsScheduler as ALDScheduler
     12 from torch.optim import Optimizer
     13 from torch.utils.data import DataLoader

ModuleNotFoundError: No module named 'ncsn'

  • ! pip install diffusers-ncsn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions