{
  "id": 117560,
  "title": "19th place solution with code",
  "url": "/competitions/3d-object-detection-for-autonomous-vehicles/discussion/117560",
  "author_name": "Rishabh Agrahari",
  "post_date": "2019-11-16T09:31:34.880000",
  "votes": 24,
  "comment_count": 9,
  "views": 0,
  "content": "<p>Hey guys,</p>\n\n<p>First of all, I'd like to thank the organizers for this awesome challenge. This was not a typical computer vision competition that's for sure and I spent a good amount of time just to understand the problem and the data. I went through multiple papers related to 3d object detection. I chose to go with <a href=\"https://github.com/traveller59/second.pytorch\">SECOND</a>:</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F761152%2Fadcfa4df972dfe71bde7404745460bb1%2Fpic-selected-191130-2044-46.png?generation=1575126996055584&amp;alt=media\" alt=\"\"></p>\n\n<p>I tweaked the SECOND's original source code to get it working for lyft dataset. Added the evaluation metric of the competition for val set evaluation. Modified the default config files according to lyft object dimensions (<code>anchor_ranges</code>, <code>sizes</code> etc).  Splitted train/val based on scenes (80:20),  <a href=\"https://github.com/pyaf/second.pytorch/blob/master/second/configs/nuscenes/all.pp.lowa.config\">configs/nuscenes/all.pp.lowa.config</a> with VoxelNet and PillarFeatureNet worked best for me. </p>\n\n<p>check out my source code: <a href=\"https://github.com/pyaf/second.pytorch\">https://github.com/pyaf/second.pytorch</a> </p>",
  "messages": [
    {
      "id": 674330,
      "postDate": "2019-11-16T09:31:34.880Z",
      "content": "<p>Hey guys,</p>\n\n<p>First of all, I'd like to thank the organizers for this awesome challenge. This was not a typical computer vision competition that's for sure and I spent a good amount of time just to understand the problem and the data. I went through multiple papers related to 3d object detection. I chose to go with <a href=\"https://github.com/traveller59/second.pytorch\">SECOND</a>:</p>\n\n<p><img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F761152%2Fadcfa4df972dfe71bde7404745460bb1%2Fpic-selected-191130-2044-46.png?generation=1575126996055584&amp;alt=media\" alt=\"\"></p>\n\n<p>I tweaked the SECOND's original source code to get it working for lyft dataset. Added the evaluation metric of the competition for val set evaluation. Modified the default config files according to lyft object dimensions (<code>anchor_ranges</code>, <code>sizes</code> etc).  Splitted train/val based on scenes (80:20),  <a href=\"https://github.com/pyaf/second.pytorch/blob/master/second/configs/nuscenes/all.pp.lowa.config\">configs/nuscenes/all.pp.lowa.config</a> with VoxelNet and PillarFeatureNet worked best for me. </p>\n\n<p>check out my source code: <a href=\"https://github.com/pyaf/second.pytorch\">https://github.com/pyaf/second.pytorch</a> </p>",
      "rawMarkdown": "Hey guys,\n\nFirst of all, I'd like to thank the organizers for this awesome challenge. This was not a typical computer vision competition that's for sure and I spent a good amount of time just to understand the problem and the data. I went through multiple papers related to 3d object detection. I chose to go with [SECOND](https://github.com/traveller59/second.pytorch):\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F761152%2Fadcfa4df972dfe71bde7404745460bb1%2Fpic-selected-191130-2044-46.png?generation=1575126996055584&amp;alt=media)\n\nI tweaked the SECOND's original source code to get it working for lyft dataset. Added the evaluation metric of the competition for val set evaluation. Modified the default config files according to lyft object dimensions (`anchor_ranges`, `sizes` etc).  Splitted train/val based on scenes (80:20),  [configs/nuscenes/all.pp.lowa.config](https://github.com/pyaf/second.pytorch/blob/master/second/configs/nuscenes/all.pp.lowa.config) with VoxelNet and PillarFeatureNet worked best for me. \n\n\ncheck out my source code: https://github.com/pyaf/second.pytorch ",
      "votes": 24
    },
    {
      "id": 684191,
      "postDate": "2019-11-29T11:32:20.337Z",
      "content": "<p>Congrats. Nice work!</p>",
      "rawMarkdown": "Congrats. Nice work!",
      "votes": 1,
      "replies": [
        {
          "id": 684221,
          "postDate": "2019-11-29T12:34:47.130Z",
          "content": "<p>Thanks <a href=\"/auxlchen\">@auxlchen</a> </p>",
          "rawMarkdown": "Thanks @auxlchen "
        }
      ]
    },
    {
      "id": 674536,
      "postDate": "2019-11-16T17:07:46.047Z",
      "content": "<p>Great work <a href=\"/rishabhiitbhu\">@rishabhiitbhu</a>! I also used <code>voxel_size : [0.25, 0.25, 20]</code>, it worked surprisingly well considering it is much taller than the the voxel size of  <code>[0.2, 0.2, 0.4]</code> from the original VoxelNet paper. Still it is something I would have liked to try tuning but I ran out of time. </p>",
      "rawMarkdown": "Great work @rishabhiitbhu! I also used `voxel_size : [0.25, 0.25, 20]`, it worked surprisingly well considering it is much taller than the the voxel size of  `[0.2, 0.2, 0.4]` from the original VoxelNet paper. Still it is something I would have liked to try tuning but I ran out of time. ",
      "votes": 1
    },
    {
      "id": 1324447,
      "postDate": "2021-05-27T00:53:41.070Z",
      "content": "<p>Sorry to trouble you. It seems that the Lyft dataset link in your github is lost. Could you please update it in your github? Thanks a lot.</p>",
      "rawMarkdown": "Sorry to trouble you. It seems that the Lyft dataset link in your github is lost. Could you please update it in your github? Thanks a lot."
    },
    {
      "id": 678135,
      "postDate": "2019-11-21T02:28:28.723Z",
      "content": "<p>Thanks for sharing <a href=\"/rishabhiitbhu\">@rishabhiitbhu</a>! I was trying to follow your codes and to train a model, but while evaluation I can't find file \"gt_data_val.json\", may I ask which file that you used to generate this file? Thanks!!</p>",
      "rawMarkdown": "Thanks for sharing @rishabhiitbhu! I was trying to follow your codes and to train a model, but while evaluation I can't find file \"gt_data_val.json\", may I ask which file that you used to generate this file? Thanks!!",
      "replies": [
        {
          "id": 678262,
          "postDate": "2019-11-21T07:01:24.117Z",
          "content": "<p>Checkout prepare.ipynb in the notebooks folder</p>",
          "rawMarkdown": "Checkout prepare.ipynb in the notebooks folder",
          "votes": 2
        },
        {
          "id": 678548,
          "postDate": "2019-11-21T14:20:20.140Z",
          "content": "<p>Gotcha! Thanks!</p>",
          "rawMarkdown": "Gotcha! Thanks!"
        }
      ]
    },
    {
      "id": 678126,
      "postDate": "2019-11-21T02:18:06.017Z",
      "content": "<p>Congrats.\nThanks for sharing your code and all your sharing throughout the competition. </p>",
      "rawMarkdown": "Congrats.\nThanks for sharing your code and all your sharing throughout the competition. "
    },
    {
      "id": 674514,
      "postDate": "2019-11-16T16:03:56.123Z",
      "rawMarkdown": "",
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 684191,
      "author_name": "Xuliang Chen",
      "author_url": "",
      "post_date": "2019-11-29T11:32:20.337000",
      "content": "<p>Congrats. Nice work!</p>",
      "votes": 1,
      "replies": [
        {
          "id": 684221,
          "author_name": "Rishabh Agrahari",
          "author_url": "",
          "post_date": "2019-11-29T12:34:47.130000",
          "content": "<p>Thanks <a href=\"/auxlchen\">@auxlchen</a> </p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 674536,
      "author_name": "Jack Vial",
      "author_url": "",
      "post_date": "2019-11-16T17:07:46.047000",
      "content": "<p>Great work <a href=\"/rishabhiitbhu\">@rishabhiitbhu</a>! I also used <code>voxel_size : [0.25, 0.25, 20]</code>, it worked surprisingly well considering it is much taller than the the voxel size of  <code>[0.2, 0.2, 0.4]</code> from the original VoxelNet paper. Still it is something I would have liked to try tuning but I ran out of time. </p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 1324447,
      "author_name": "Haochen Sui",
      "author_url": "",
      "post_date": "2021-05-27T00:53:41.070000",
      "content": "<p>Sorry to trouble you. It seems that the Lyft dataset link in your github is lost. Could you please update it in your github? Thanks a lot.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 678135,
      "author_name": "jionie",
      "author_url": "",
      "post_date": "2019-11-21T02:28:28.723000",
      "content": "<p>Thanks for sharing <a href=\"/rishabhiitbhu\">@rishabhiitbhu</a>! I was trying to follow your codes and to train a model, but while evaluation I can't find file \"gt_data_val.json\", may I ask which file that you used to generate this file? Thanks!!</p>",
      "votes": 0,
      "replies": [
        {
          "id": 678262,
          "author_name": "Rishabh Agrahari",
          "author_url": "",
          "post_date": "2019-11-21T07:01:24.117000",
          "content": "<p>Checkout prepare.ipynb in the notebooks folder</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 678548,
          "author_name": "jionie",
          "author_url": "",
          "post_date": "2019-11-21T14:20:20.140000",
          "content": "<p>Gotcha! Thanks!</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 678126,
      "author_name": "Bob Wang",
      "author_url": "",
      "post_date": "2019-11-21T02:18:06.017000",
      "content": "<p>Congrats.\nThanks for sharing your code and all your sharing throughout the competition. </p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 674514,
      "author_name": "",
      "author_url": "",
      "post_date": "2019-11-16T16:03:56.123000",
      "content": "",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "674330": "Hey guys,\n\nFirst of all, I'd like to thank the organizers for this awesome challenge. This was not a typical computer vision competition that's for sure and I spent a good amount of time just to understand the problem and the data. I went through multiple papers related to 3d object detection. I chose to go with [SECOND](https://github.com/traveller59/second.pytorch):\n\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F761152%2Fadcfa4df972dfe71bde7404745460bb1%2Fpic-selected-191130-2044-46.png?generation=1575126996055584&amp;alt=media)\n\nI tweaked the SECOND's original source code to get it working for lyft dataset. Added the evaluation metric of the competition for val set evaluation. Modified the default config files according to lyft object dimensions (`anchor_ranges`, `sizes` etc).  Splitted train/val based on scenes (80:20),  [configs/nuscenes/all.pp.lowa.config](https://github.com/pyaf/second.pytorch/blob/master/second/configs/nuscenes/all.pp.lowa.config) with VoxelNet and PillarFeatureNet worked best for me. \n\n\ncheck out my source code: https://github.com/pyaf/second.pytorch ",
    "684191": "Congrats. Nice work!",
    "674536": "Great work @rishabhiitbhu! I also used `voxel_size : [0.25, 0.25, 20]`, it worked surprisingly well considering it is much taller than the the voxel size of  `[0.2, 0.2, 0.4]` from the original VoxelNet paper. Still it is something I would have liked to try tuning but I ran out of time. ",
    "1324447": "Sorry to trouble you. It seems that the Lyft dataset link in your github is lost. Could you please update it in your github? Thanks a lot.",
    "678135": "Thanks for sharing @rishabhiitbhu! I was trying to follow your codes and to train a model, but while evaluation I can't find file \"gt_data_val.json\", may I ask which file that you used to generate this file? Thanks!!",
    "678126": "Congrats.\nThanks for sharing your code and all your sharing throughout the competition. ",
    "674514": ""
  }
}