{
  "id": 413483,
  "title": "encode_binary_mask function bug",
  "url": "/competitions/hubmap-hacking-the-human-vasculature/discussion/413483",
  "author_name": "AnatoliK",
  "post_date": "2023-05-28T21:52:06.764000",
  "votes": 1,
  "comment_count": 0,
  "views": 0,
  "content": "<p>If you have numpy version 1.20 or later, use <code>bool</code> instead <code>np.bool</code> in the <code>encode_binary_mask</code>. Otherwise, it won't work.</p>",
  "messages": [
    {
      "id": 2278678,
      "postDate": "2023-05-28T21:52:06.763Z",
      "content": "<p>If you have numpy version 1.20 or later, use <code>bool</code> instead <code>np.bool</code> in the <code>encode_binary_mask</code>. Otherwise, it won't work.</p>",
      "rawMarkdown": "If you have numpy version 1.20 or later, use `bool` instead `np.bool` in the `encode_binary_mask`. Otherwise, it won't work.",
      "votes": 1
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "2278678": "If you have numpy version 1.20 or later, use `bool` instead `np.bool` in the `encode_binary_mask`. Otherwise, it won't work."
  }
}