You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem sounds trivial but I really have problems accessing the image size from the Instances class
When I try to access the data like this:
outputs["instances".image_size()
I get an error:
TypeError: 'tuple' object is not callable]
I've seen in the docs that image size (width, height) is returned as a tuple and I tried several ways to access the data in my program but without any success.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The problem sounds trivial but I really have problems accessing the image size from the Instances class
When I try to access the data like this:
outputs["instances".image_size()
I get an error:
TypeError: 'tuple' object is not callable]
I've seen in the docs that image size (width, height) is returned as a tuple and I tried several ways to access the data in my program but without any success.
Can anyone pls help me here?
Beta Was this translation helpful? Give feedback.
All reactions