{
  "id": 177110,
  "title": "Lyft Level5 Resources",
  "url": "/competitions/lyft-motion-prediction-autonomous-vehicles/discussion/177110",
  "author_name": "Peter",
  "post_date": "2020-08-24T21:49:51.258000",
  "votes": 57,
  "comment_count": 14,
  "views": 0,
  "content": "<p>Here are some useful links:</p>\n<ul>\n<li><a href=\"https://self-driving.lyft.com/level5\" target=\"_blank\">Official site</a></li>\n<li><a href=\"http://www.l5kit.org/\" target=\"_blank\">L5Kit API Documentation</a></li>\n<li><a href=\"https://github.com/lyft/l5kit\" target=\"_blank\">L5Kit Github Source</a></li>\n<li><a href=\"https://github.com/lyft/l5kit/blob/master/examples\" target=\"_blank\">L5Kit Tutorials</a></li>\n<li><a href=\"https://arxiv.org/pdf/2006.14480.pdf\" target=\"_blank\">Dataset Paper</a></li>\n</ul>",
  "messages": [
    {
      "id": 984147,
      "postDate": "2020-08-24T21:49:51.260Z",
      "content": "<p>Here are some useful links:</p>\n<ul>\n<li><a href=\"https://self-driving.lyft.com/level5\" target=\"_blank\">Official site</a></li>\n<li><a href=\"http://www.l5kit.org/\" target=\"_blank\">L5Kit API Documentation</a></li>\n<li><a href=\"https://github.com/lyft/l5kit\" target=\"_blank\">L5Kit Github Source</a></li>\n<li><a href=\"https://github.com/lyft/l5kit/blob/master/examples\" target=\"_blank\">L5Kit Tutorials</a></li>\n<li><a href=\"https://arxiv.org/pdf/2006.14480.pdf\" target=\"_blank\">Dataset Paper</a></li>\n</ul>",
      "rawMarkdown": "Here are some useful links:\n\n- [Official site](https://self-driving.lyft.com/level5)\n- [L5Kit API Documentation](http://www.l5kit.org/)\n- [L5Kit Github Source](https://github.com/lyft/l5kit)\n- [L5Kit Tutorials](https://github.com/lyft/l5kit/blob/master/examples)\n- [Dataset Paper](https://arxiv.org/pdf/2006.14480.pdf)\n\n",
      "votes": 56
    },
    {
      "id": 984215,
      "postDate": "2020-08-25T00:30:21.147Z",
      "content": "<p>Thank you for share these well-informed resources <a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a>👍!</p>",
      "rawMarkdown": "Thank you for share these well-informed resources @pestipeti👍!",
      "votes": 1
    },
    {
      "id": 984163,
      "postDate": "2020-08-24T22:34:07.483Z",
      "content": "<p>Hey <a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a>, thank you a lot..as usual: early bird with a lot of useful and insightful resources. Thanks again!</p>",
      "rawMarkdown": "Hey @pestipeti, thank you a lot..as usual: early bird with a lot of useful and insightful resources. Thanks again!",
      "votes": 2
    },
    {
      "id": 997412,
      "postDate": "2020-09-04T03:16:40.983Z",
      "content": "<p>Hi,<br>\nI am using <strong>l5kit==1.0.6</strong> and uploaded data as below. </p>\n<pre><code>from l5kit.data import ChunkedDataset\ntrain_data = ChunkedDataset(\"/kaggle/input/lyft-motion-prediction-autonomous-vehicles/scenes/train.zarr\").open()\n</code></pre>\n<p>But when I am trying to get \"traffic_light_faces\"</p>\n<p><code>train_data.traffic_light_faces[0]</code></p>\n<p>Its throwing exception. But I am using right version of l5kit. Please help me.</p>\n<p><strong>AttributeError: 'ChunkedDataset' object has no attribute 'traffic_light_faces'</strong></p>",
      "rawMarkdown": "Hi,\nI am using **l5kit==1.0.6** and uploaded data as below. \n\n```\nfrom l5kit.data import ChunkedDataset\ntrain_data = ChunkedDataset(\"/kaggle/input/lyft-motion-prediction-autonomous-vehicles/scenes/train.zarr\").open()\n```\nBut when I am trying to get \"traffic_light_faces\"\n\n`train_data.traffic_light_faces[0]`\n\nIts throwing exception. But I am using right version of l5kit. Please help me.\n\n**AttributeError: 'ChunkedDataset' object has no attribute 'traffic_light_faces'**",
      "replies": [
        {
          "id": 997482,
          "postDate": "2020-09-04T04:31:19.577Z",
          "content": "<p><a href=\"https://www.kaggle.com/pallaviroyal\" target=\"_blank\">@pallaviroyal</a> If you want direct access to the zarr data, try this:</p>\n<pre><code>data = zarr.open_group(\"...YOUR_DIR.../train.zarr\", mode='r')\ndata['traffic_light_faces'][0]\n</code></pre>",
          "rawMarkdown": "@pallaviroyal If you want direct access to the zarr data, try this:\n\n```\ndata = zarr.open_group(\"...YOUR_DIR.../train.zarr\", mode='r')\ndata['traffic_light_faces'][0]\n```",
          "votes": 2
        },
        {
          "id": 997852,
          "postDate": "2020-09-04T09:31:41.653Z",
          "content": "<p><a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a> Thank you! working fine. But have another question.<br>\nWhen I check <strong>data[\"scenes\"]</strong>, It contains <strong>shape</strong> size 16265 and <strong>chunks</strong> size 10000. <br>\nHere , </p>\n<ul>\n<li>what is mean by chunks? </li>\n<li>per chunk how many records available? </li>\n<li>what can be the overall available records in data[\"scenes\"]?</li>\n<li>when I check, the unique of data[\"scenes\"][\"host\"], it just showing 4. but as per the dataset paper unique hosts must be 20. did I misunderstand something here? </li>\n</ul>\n<p>Kindly help me.</p>",
          "rawMarkdown": "@pestipeti Thank you! working fine. But have another question.\nWhen I check **data[\"scenes\"]**, It contains **shape** size 16265 and **chunks** size 10000. \nHere , \n- what is mean by chunks? \n- per chunk how many records available? \n- what can be the overall available records in data[\"scenes\"]?\n- when I check, the unique of data[\"scenes\"][\"host\"], it just showing 4. but as per the dataset paper unique hosts must be 20. did I misunderstand something here? \n\nKindly help me.",
          "votes": 2
        },
        {
          "id": 997937,
          "postDate": "2020-09-04T10:55:44.493Z",
          "content": "<p><a href=\"https://www.kaggle.com/pallaviroyal\" target=\"_blank\">@pallaviroyal</a> </p>\n<ul>\n<li>I think chunks are zarr specific, you don't have to worry about it.</li>\n<li>In the default dataset we have 16265 scenes, you should take a look at the full dataset too. There should be the missing scenes/hosts (I haven't checked it yet, though.)</li>\n</ul>",
          "rawMarkdown": "@pallaviroyal \n- I think chunks are zarr specific, you don't have to worry about it.\n- In the default dataset we have 16265 scenes, you should take a look at the full dataset too. There should be the missing scenes/hosts (I haven't checked it yet, though.)",
          "votes": 1
        },
        {
          "id": 997944,
          "postDate": "2020-09-04T11:02:08.637Z",
          "content": "<p><a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a> Sure, thanks for the clarification.</p>",
          "rawMarkdown": "@pestipeti Sure, thanks for the clarification."
        }
      ]
    },
    {
      "id": 988964,
      "postDate": "2020-08-28T12:51:46.403Z",
      "content": "<p>Should I make predictions for target positions of the agent or future positions of the other traffic agents ?<br>\nand train.zarr set consists of 248 frames per scene while test set contains 100 , should I make predictions for final 50 frames per scene or for first 50 frames ?</p>",
      "rawMarkdown": "Should I make predictions for target positions of the agent or future positions of the other traffic agents ?\nand train.zarr set consists of 248 frames per scene while test set contains 100 , should I make predictions for final 50 frames per scene or for first 50 frames ?"
    },
    {
      "id": 987708,
      "postDate": "2020-08-27T13:08:03.533Z",
      "content": "<p>Thanks for your priceless material saving my research time.</p>",
      "rawMarkdown": "Thanks for your priceless material saving my research time."
    },
    {
      "id": 985942,
      "postDate": "2020-08-26T05:42:26.113Z",
      "content": "<p>Thanks <a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a> for sharing. very useful and informative resources.</p>",
      "rawMarkdown": "Thanks @pestipeti for sharing. very useful and informative resources."
    },
    {
      "id": 991137,
      "postDate": "2020-08-30T07:01:56.753Z",
      "rawMarkdown": "",
      "isDeleted": true
    },
    {
      "id": 988872,
      "postDate": "2020-08-28T11:03:18.893Z",
      "content": "<p>very good resources! Thank you😀</p>",
      "rawMarkdown": "very good resources! Thank you😀"
    },
    {
      "id": 987859,
      "postDate": "2020-08-27T15:21:32.800Z",
      "content": "<p>Thanks for sharing very helpful.</p>",
      "rawMarkdown": "Thanks for sharing very helpful."
    },
    {
      "id": 987384,
      "postDate": "2020-08-27T07:57:07.187Z",
      "content": "<p>Thanks, these proved useful.👍</p>",
      "rawMarkdown": "Thanks, these proved useful.👍"
    }
  ],
  "comments": [
    {
      "id": 984215,
      "author_name": "Beans",
      "author_url": "",
      "post_date": "2020-08-25T00:30:21.147000",
      "content": "<p>Thank you for share these well-informed resources <a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a>👍!</p>",
      "votes": 1,
      "replies": []
    },
    {
      "id": 984163,
      "author_name": "from coffee import *",
      "author_url": "",
      "post_date": "2020-08-24T22:34:07.483000",
      "content": "<p>Hey <a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a>, thank you a lot..as usual: early bird with a lot of useful and insightful resources. Thanks again!</p>",
      "votes": 2,
      "replies": []
    },
    {
      "id": 997412,
      "author_name": "Pallavi Ramicetty",
      "author_url": "",
      "post_date": "2020-09-04T03:16:40.983000",
      "content": "<p>Hi,<br>\nI am using <strong>l5kit==1.0.6</strong> and uploaded data as below. </p>\n<pre><code>from l5kit.data import ChunkedDataset\ntrain_data = ChunkedDataset(\"/kaggle/input/lyft-motion-prediction-autonomous-vehicles/scenes/train.zarr\").open()\n</code></pre>\n<p>But when I am trying to get \"traffic_light_faces\"</p>\n<p><code>train_data.traffic_light_faces[0]</code></p>\n<p>Its throwing exception. But I am using right version of l5kit. Please help me.</p>\n<p><strong>AttributeError: 'ChunkedDataset' object has no attribute 'traffic_light_faces'</strong></p>",
      "votes": 0,
      "replies": [
        {
          "id": 997482,
          "author_name": "Peter",
          "author_url": "",
          "post_date": "2020-09-04T04:31:19.577000",
          "content": "<p><a href=\"https://www.kaggle.com/pallaviroyal\" target=\"_blank\">@pallaviroyal</a> If you want direct access to the zarr data, try this:</p>\n<pre><code>data = zarr.open_group(\"...YOUR_DIR.../train.zarr\", mode='r')\ndata['traffic_light_faces'][0]\n</code></pre>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 997852,
          "author_name": "Pallavi Ramicetty",
          "author_url": "",
          "post_date": "2020-09-04T09:31:41.653000",
          "content": "<p><a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a> Thank you! working fine. But have another question.<br>\nWhen I check <strong>data[\"scenes\"]</strong>, It contains <strong>shape</strong> size 16265 and <strong>chunks</strong> size 10000. <br>\nHere , </p>\n<ul>\n<li>what is mean by chunks? </li>\n<li>per chunk how many records available? </li>\n<li>what can be the overall available records in data[\"scenes\"]?</li>\n<li>when I check, the unique of data[\"scenes\"][\"host\"], it just showing 4. but as per the dataset paper unique hosts must be 20. did I misunderstand something here? </li>\n</ul>\n<p>Kindly help me.</p>",
          "votes": 2,
          "replies": []
        },
        {
          "id": 997937,
          "author_name": "Peter",
          "author_url": "",
          "post_date": "2020-09-04T10:55:44.493000",
          "content": "<p><a href=\"https://www.kaggle.com/pallaviroyal\" target=\"_blank\">@pallaviroyal</a> </p>\n<ul>\n<li>I think chunks are zarr specific, you don't have to worry about it.</li>\n<li>In the default dataset we have 16265 scenes, you should take a look at the full dataset too. There should be the missing scenes/hosts (I haven't checked it yet, though.)</li>\n</ul>",
          "votes": 1,
          "replies": []
        },
        {
          "id": 997944,
          "author_name": "Pallavi Ramicetty",
          "author_url": "",
          "post_date": "2020-09-04T11:02:08.637000",
          "content": "<p><a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a> Sure, thanks for the clarification.</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 988964,
      "author_name": "th-blitz",
      "author_url": "",
      "post_date": "2020-08-28T12:51:46.403000",
      "content": "<p>Should I make predictions for target positions of the agent or future positions of the other traffic agents ?<br>\nand train.zarr set consists of 248 frames per scene while test set contains 100 , should I make predictions for final 50 frames per scene or for first 50 frames ?</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 987708,
      "author_name": "Jeenwoo Park",
      "author_url": "",
      "post_date": "2020-08-27T13:08:03.533000",
      "content": "<p>Thanks for your priceless material saving my research time.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 985942,
      "author_name": "Prasanta Kundu",
      "author_url": "",
      "post_date": "2020-08-26T05:42:26.113000",
      "content": "<p>Thanks <a href=\"https://www.kaggle.com/pestipeti\" target=\"_blank\">@pestipeti</a> for sharing. very useful and informative resources.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 991137,
      "author_name": "",
      "author_url": "",
      "post_date": "2020-08-30T07:01:56.753000",
      "content": "",
      "votes": 0,
      "replies": []
    },
    {
      "id": 988872,
      "author_name": "Matrix",
      "author_url": "",
      "post_date": "2020-08-28T11:03:18.893000",
      "content": "<p>very good resources! Thank you😀</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 987859,
      "author_name": "Bivek Subedi",
      "author_url": "",
      "post_date": "2020-08-27T15:21:32.800000",
      "content": "<p>Thanks for sharing very helpful.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 987384,
      "author_name": "Sushant Rai",
      "author_url": "",
      "post_date": "2020-08-27T07:57:07.187000",
      "content": "<p>Thanks, these proved useful.👍</p>",
      "votes": 0,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "984147": "Here are some useful links:\n\n- [Official site](https://self-driving.lyft.com/level5)\n- [L5Kit API Documentation](http://www.l5kit.org/)\n- [L5Kit Github Source](https://github.com/lyft/l5kit)\n- [L5Kit Tutorials](https://github.com/lyft/l5kit/blob/master/examples)\n- [Dataset Paper](https://arxiv.org/pdf/2006.14480.pdf)\n\n",
    "984215": "Thank you for share these well-informed resources @pestipeti👍!",
    "984163": "Hey @pestipeti, thank you a lot..as usual: early bird with a lot of useful and insightful resources. Thanks again!",
    "997412": "Hi,\nI am using **l5kit==1.0.6** and uploaded data as below. \n\n```\nfrom l5kit.data import ChunkedDataset\ntrain_data = ChunkedDataset(\"/kaggle/input/lyft-motion-prediction-autonomous-vehicles/scenes/train.zarr\").open()\n```\nBut when I am trying to get \"traffic_light_faces\"\n\n`train_data.traffic_light_faces[0]`\n\nIts throwing exception. But I am using right version of l5kit. Please help me.\n\n**AttributeError: 'ChunkedDataset' object has no attribute 'traffic_light_faces'**",
    "988964": "Should I make predictions for target positions of the agent or future positions of the other traffic agents ?\nand train.zarr set consists of 248 frames per scene while test set contains 100 , should I make predictions for final 50 frames per scene or for first 50 frames ?",
    "987708": "Thanks for your priceless material saving my research time.",
    "985942": "Thanks @pestipeti for sharing. very useful and informative resources.",
    "991137": "",
    "988872": "very good resources! Thank you😀",
    "987859": "Thanks for sharing very helpful.",
    "987384": "Thanks, these proved useful.👍"
  }
}