Why do I get the error "ModuleNotFoundError: No module named 'huggan'"?

Viewed 16

I am trying to implement this model from HuggingFace. To run the model I need to import HugGANModelHubMixin with:

from huggan.pytorch.huggan_mixin import HugGANModelHubMixin

but I get:

ModuleNotFoundError: No module named 'huggan'.

I cloned the model locally and try to run it from VSC.

As far I understand is the problem that HugGANModelHubMixin is not available on HuggingFace because search for models returns no results.

How can I find a work around for this issue?

0 Answers
Related