Error making a json file

ValueError: not enough values to unpack (expected 3, got 2)

binary, contours, hierarchy = cv2.findContours(sub_label, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)

Iā€™m unsure where the json file is created, but based on the posted code it seems this issue is not PyTorch-related so e.g. StackOverflow might be a better place to post the question. :wink:

1 Like