Skip to content

Conversation

@yashYRS
Copy link

@yashYRS yashYRS commented Apr 1, 2020

Faced the following errors, while running the files. After making these minor changes, the code runs smoothly

  1. Removed all instances of plt.hold(true) since the same has been deprecated.
    Source : https://stackoverflow.com/questions/53689386/python-3-pyplot-hold-is-deprecated

  2. cv2.find_contours() : return type expected values are 3, or 2 depending on the version of cv2 installed. Changed code to handle all versions.
    Source : ValueError: not enough values to unpack (expected 3, got 2) facebookresearch/maskrcnn-benchmark#339

Copy link
Owner

@ankush-me ankush-me left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request.

@ankush-me ankush-me merged commit e18aaf9 into ankush-me:python3 Apr 16, 2020
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

Successfully merging this pull request may close these issues.

2 participants