{
  "id": 193150,
  "title": "Agents data iterator ",
  "url": "/competitions/lyft-motion-prediction-autonomous-vehicles/discussion/193150",
  "author_name": "",
  "post_date": "2020-10-25T14:39:07.141650300Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>In below code line number 111, is that scenario exist?  I believe it does not as per my understanding.  My understanding is, every frame can belong to one of the scenes. is that correct?<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F636669%2Fb6cabd2e3ad372aea745721416889816%2FScreenshot%20from%202020-10-25%2019-58-49.png?generation=1603636650594412&amp;alt=media\" alt=\"\"></p>\n<p>Github link : <a href=\"https://github.com/lyft/l5kit/blob/master/l5kit/l5kit/dataset/agent.py#L111\" target=\"_blank\">https://github.com/lyft/l5kit/blob/master/l5kit/l5kit/dataset/agent.py#L111</a></p>",
  "messages": [
    {
      "id": "1059854",
      "postDate": "10/25/2020 14:39:07",
      "content": "<p>In below code line number 111, is that scenario exist?  I believe it does not as per my understanding.  My understanding is, every frame can belong to one of the scenes. is that correct?<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F636669%2Fb6cabd2e3ad372aea745721416889816%2FScreenshot%20from%202020-10-25%2019-58-49.png?generation=1603636650594412&amp;alt=media\" alt=\"\"></p>\n<p>Github link : <a href=\"https://github.com/lyft/l5kit/blob/master/l5kit/l5kit/dataset/agent.py#L111\" target=\"_blank\">https://github.com/lyft/l5kit/blob/master/l5kit/l5kit/dataset/agent.py#L111</a></p>",
      "rawMarkdown": "In below code line number 111, is that scenario exist?  I believe it does not as per my understanding.  My understanding is, every frame can belong to one of the scenes. is that correct?\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F636669%2Fb6cabd2e3ad372aea745721416889816%2FScreenshot%20from%202020-10-25%2019-58-49.png?generation=1603636650594412&alt=media)\n\nGithub link : https://github.com/lyft/l5kit/blob/master/l5kit/l5kit/dataset/agent.py#L111",
      "votes": null
    },
    {
      "id": "1059858",
      "postDate": "10/25/2020 14:46:34",
      "content": "<p>Sorry to ruin it for you, but that scenario does exist. Scene index zero just means that it is the first scene in the array. State index is a frame number inside a scene. </p>\n<p>But every frame belongs to one of the scenes, that is correct.</p>",
      "rawMarkdown": "Sorry to ruin it for you, but that scenario does exist. Scene index zero just means that it is the first scene in the array. State index is a frame number inside a scene. \n\nBut every frame belongs to one of the scenes, that is correct.",
      "votes": null
    },
    {
      "id": "1059866",
      "postDate": "10/25/2020 14:54:23",
      "content": "<p>Thanks. Yes, I got it. scene_index will be zero When frame_index is less than the value available at self.cumulative_sizes[0]. But, what is <strong>state_index</strong>? <br>\nEdit: Sorry you answered already. </p>",
      "rawMarkdown": "Thanks. Yes, I got it. scene_index will be zero When frame_index is less than the value available at self.cumulative_sizes[0]. But, what is **state_index**? \nEdit: Sorry you answered already.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1059858,
      "author_name": "zaharch",
      "author_url": "",
      "post_date": "10/25/2020 14:46:34",
      "content": "<p>Sorry to ruin it for you, but that scenario does exist. Scene index zero just means that it is the first scene in the array. State index is a frame number inside a scene. </p>\n<p>But every frame belongs to one of the scenes, that is correct.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1059866,
          "author_name": "pallaviroyal",
          "author_url": "",
          "post_date": "10/25/2020 14:54:23",
          "content": "<p>Thanks. Yes, I got it. scene_index will be zero When frame_index is less than the value available at self.cumulative_sizes[0]. But, what is <strong>state_index</strong>? <br>\nEdit: Sorry you answered already. </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1059854": "In below code line number 111, is that scenario exist?  I believe it does not as per my understanding.  My understanding is, every frame can belong to one of the scenes. is that correct?\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F636669%2Fb6cabd2e3ad372aea745721416889816%2FScreenshot%20from%202020-10-25%2019-58-49.png?generation=1603636650594412&alt=media)\n\nGithub link : https://github.com/lyft/l5kit/blob/master/l5kit/l5kit/dataset/agent.py#L111",
    "1059858": "Sorry to ruin it for you, but that scenario does exist. Scene index zero just means that it is the first scene in the array. State index is a frame number inside a scene. \n\nBut every frame belongs to one of the scenes, that is correct.",
    "1059866": "Thanks. Yes, I got it. scene_index will be zero When frame_index is less than the value available at self.cumulative_sizes[0]. But, what is **state_index**? \nEdit: Sorry you answered already."
  },
  "source": "meta"
}