Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S SynthText
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 25
    • Issues 25
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Ankush Gupta
  • SynthText
  • Merge requests
  • !185

Fixed minor changes, that resulted in code crash during runtime

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/yashYRS/python3 into python3 Apr 01, 2020
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 4

Created by: yashYRS

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 : https://github.com/facebookresearch/maskrcnn-benchmark/issues/339

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/yashYRS/python3