Tried installing locally but error

#40
by serta21 - opened

I get the following error because the Controlnet github repository doesn't have the method implemented. ControlNet is missing the file apply_canny.py because the folder annotator/canny only has the init.py file.
What were the instructions you used to install this exactly?

(cnetvenv) C:\Users\quaff\Downloads\3dPose\ControlNet-Video>python app.py
Traceback (most recent call last):
File "C:\Users\quaff\Downloads\3dPose\ControlNet-Video\app.py", line 37, in
from model import (DEFAULT_BASE_MODEL_FILENAME, DEFAULT_BASE_MODEL_REPO,
File "C:\Users\quaff\Downloads\3dPose\ControlNet-Video\model.py", line 21, in
from annotator.canny import apply_canny
ImportError: cannot import name 'apply_canny' from 'annotator.canny' (C:\Users\quaff\Downloads\3dPose\ControlNet-Video\ControlNet\annotator\canny_init_.py)

My Repository looks like this
ControlNet-Video <-- I downloaded this repository from huggingface spaces
||
==> ControlNet <-- I also installed the ControlNet Repository from Github, but it is missing a few methods

Sign up or log in to comment