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 occurred when executing AnyNodeAnthropic: Error 1 = OpenCV, Error 2 = 'NoneType' object is not subscriptable" #41

Open
piovis2023 opened this issue Jul 6, 2024 · 0 comments

Comments

@piovis2023
Copy link

Context:
Windows 11 OS
Python 3.11
Conda environment

Anthropic and Gemini Anynodes work when making simple text based queries.
Here I tried another example from this repo.

Workflow: (copying the example from the repo)
image

Errors:

  1. If I include the Preview image node in the workflow
    "Error occurred when executing PreviewImage:

'NoneType' object is not subscriptable"

  1. If i EXCLUDE the Preview image node
    "Error occurred when executing AnyNodeAnthropic:

OpenCV(4.8.0) d:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\color.simd_helpers.hpp:92: error: (-2:Unspecified error) in function '__cdecl cv::impl::`anonymous-namespace'::CvtHelper,struct cv::impl::A0xa7e5ea26::Set<1,-1,-1>,struct cv::impl::A0xa7e5ea26::Set<0,2,5>,3>::CvtHelper(const class cv::_InputArray &,const class cv::_OutputArray &,int)'

Invalid number of channels in input image:
'VScn::contains(scn)'
where
'scn' is 1"

Any help would is appreciated.

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