{
  "id": 160595,
  "title": "How to split TFRecords dataset based on class?",
  "url": "/competitions/siim-isic-melanoma-classification/discussion/160595",
  "author_name": "",
  "post_date": "2020-06-21T21:33:07.824933800Z",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "",
  "messages": [
    {
      "id": "896117",
      "postDate": "06/21/2020 21:33:07",
      "content": "",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "912275",
      "postDate": "07/02/2020 11:26:30",
      "content": "<p><a href=\"https://www.tensorflow.org/api_docs/python/tf/data/Dataset#filter\">tf.data.Dataset.filter</a> can be used. For example, <code>class == 0</code> or <code>class == 1</code> for <code>predicate</code> .</p>",
      "rawMarkdown": "[tf.data.Dataset.filter][1] can be used. For example, `class == 0` or `class == 1` for `predicate` .\n\n[1]: https://www.tensorflow.org/api_docs/python/tf/data/Dataset#filter",
      "votes": null
    },
    {
      "id": "915359",
      "postDate": "07/04/2020 17:06:08",
      "content": "<p>If you have trouble working with TFRecords you could work with resized JPEGs instead posted <a href=\"https://www.kaggle.com/c/siim-isic-melanoma-classification/discussion/164092\">here</a></p>",
      "rawMarkdown": "If you have trouble working with TFRecords you could work with resized JPEGs instead posted [here][1]\n\n[1]: https://www.kaggle.com/c/siim-isic-melanoma-classification/discussion/164092",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 912275,
      "author_name": "tt195361",
      "author_url": "",
      "post_date": "07/02/2020 11:26:30",
      "content": "<p><a href=\"https://www.tensorflow.org/api_docs/python/tf/data/Dataset#filter\">tf.data.Dataset.filter</a> can be used. For example, <code>class == 0</code> or <code>class == 1</code> for <code>predicate</code> .</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 915359,
      "author_name": "cdeotte",
      "author_url": "",
      "post_date": "07/04/2020 17:06:08",
      "content": "<p>If you have trouble working with TFRecords you could work with resized JPEGs instead posted <a href=\"https://www.kaggle.com/c/siim-isic-melanoma-classification/discussion/164092\">here</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "896117": "",
    "912275": "[tf.data.Dataset.filter][1] can be used. For example, `class == 0` or `class == 1` for `predicate` .\n\n[1]: https://www.tensorflow.org/api_docs/python/tf/data/Dataset#filter",
    "915359": "If you have trouble working with TFRecords you could work with resized JPEGs instead posted [here][1]\n\n[1]: https://www.kaggle.com/c/siim-isic-melanoma-classification/discussion/164092"
  },
  "source": "meta"
}