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

Cannot execute MLClient node from Python script #33

Open
Iftimie opened this issue Oct 18, 2022 · 0 comments
Open

Cannot execute MLClient node from Python script #33

Iftimie opened this issue Oct 18, 2022 · 0 comments

Comments

@Iftimie
Copy link

Iftimie commented Oct 18, 2022

Hi! Many thanks for this great project.

I'm trying to write some integration tests, but without much success. Here is what I tried so far, but I get the errors below.

image_node = nuke.nodes.Read(file = "/path/to/file.jpg")
ml_node = nuke.nodes.MLClient()

# Maybe something like this would trigger the node to connect to the server?
# ml_node.knobs()['connect'].execute()

ml_node.setInput( 0, image_node )
nuke.execute(ml_node, 1,2)
# RuntimeError: MLClient1 cannot be executed
# MLClient1 cannot be executed

Any advice is highly 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