huggingface / huggingface/controlnet_aux

Cannot import name 'Network' from 'controlnet_aux.hed'

Open
#66 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
497
Forks
104
PR merge metrics
No merged PRs in 30d

Description

When I run:

```
from controlnet_aux.hed import Network
hed_network = Network(f"{local_fold}/lllyasviel/ControlNet/annotator/ckpts/network-bsds500.pth")
HEDdetector(hed_network)
```

I got this error:

`ImportError: cannot import name 'Network' from 'controlnet_aux.hed' `

(I find __init__.py of "hed" folder has no 'Network' class or function.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.