Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Canny pre-processor #4

Open
Fusedon opened this issue Oct 18, 2023 · 0 comments
Open

Error with Canny pre-processor #4

Fusedon opened this issue Oct 18, 2023 · 0 comments

Comments

@Fusedon
Copy link

Fusedon commented Oct 18, 2023

Traceback (most recent call last):
File "/root/.pyenv/versions/3.9.18/lib/python3.9/site-packages/cog/server/worker.py", line 222, in _predict
for r in result:
File "/root/.pyenv/versions/3.9.18/lib/python3.9/site-packages/torch/utils/_contextlib.py", line 35, in generator_context
response = gen.send(None)
File "predict.py", line 338, in predict
pipe, kwargs = self.build_pipe(
File "predict.py", line 186, in build_pipe
img = self.canny_preprocess(img, low_threshold, high_threshold)
TypeError: canny_preprocess() takes 2 positional arguments but 4 were given

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant