{
  "id": 152639,
  "title": "__init__ argument error",
  "url": "/competitions/iwildcam-2020-fgvc7/discussion/152639",
  "author_name": "BlueTurtle",
  "post_date": "2020-05-20T21:07:51.799000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Hello,</p>\n\n<p>I am trying to create a DataLoader myself as previously I have used someone elses and I would like to improve.</p>\n\n<p>I feel I am close to getting it to work, however, I get an argument error for <strong>init</strong>.</p>\n\n<p>The DataLoader worked mostly fine initially but as the images were different sizes it then threw an error. Since introducing the CentralCrop to get a consistent image size I am getting this <strong>init</strong> error instead.</p>\n\n<p>Notebook: <a href=\"https://www.kaggle.com/blueturtle/wildlife-cam-init-argument-error\">https://www.kaggle.com/blueturtle/wildlife-cam-init-argument-error</a></p>\n\n<p>Thanks,</p>\n\n<p>BT</p>",
  "messages": [
    {
      "id": 855356,
      "postDate": "2020-05-20T21:07:51.800Z",
      "content": "<p>Hello,</p>\n\n<p>I am trying to create a DataLoader myself as previously I have used someone elses and I would like to improve.</p>\n\n<p>I feel I am close to getting it to work, however, I get an argument error for <strong>init</strong>.</p>\n\n<p>The DataLoader worked mostly fine initially but as the images were different sizes it then threw an error. Since introducing the CentralCrop to get a consistent image size I am getting this <strong>init</strong> error instead.</p>\n\n<p>Notebook: <a href=\"https://www.kaggle.com/blueturtle/wildlife-cam-init-argument-error\">https://www.kaggle.com/blueturtle/wildlife-cam-init-argument-error</a></p>\n\n<p>Thanks,</p>\n\n<p>BT</p>",
      "rawMarkdown": "Hello,\n\nI am trying to create a DataLoader myself as previously I have used someone elses and I would like to improve.\n\nI feel I am close to getting it to work, however, I get an argument error for __init__.\n\nThe DataLoader worked mostly fine initially but as the images were different sizes it then threw an error. Since introducing the CentralCrop to get a consistent image size I am getting this __init__ error instead.\n\nNotebook: https://www.kaggle.com/blueturtle/wildlife-cam-init-argument-error\n\nThanks,\n\nBT"
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "855356": "Hello,\n\nI am trying to create a DataLoader myself as previously I have used someone elses and I would like to improve.\n\nI feel I am close to getting it to work, however, I get an argument error for __init__.\n\nThe DataLoader worked mostly fine initially but as the images were different sizes it then threw an error. Since introducing the CentralCrop to get a consistent image size I am getting this __init__ error instead.\n\nNotebook: https://www.kaggle.com/blueturtle/wildlife-cam-init-argument-error\n\nThanks,\n\nBT"
  }
}