{
  "id": 411689,
  "title": "Data is loaded as a pandas dataframe?",
  "url": "/competitions/asl-fingerspelling/discussion/411689",
  "author_name": "Camaro",
  "post_date": "2023-05-20T13:51:50.994000",
  "votes": 2,
  "comment_count": 1,
  "views": 0,
  "content": "<p><a href=\"https://www.kaggle.com/sohier\" target=\"_blank\">@sohier</a></p>\n<p>In evaluation page, it says pandas dataframe is passed to tflite.</p>\n<p>Each video is loaded with the following function:</p>\n<pre><code>def load_relevant_data_subset(pq_path):\n    return pd.read_parquet(pq_path, columns=selected_columns)\n</code></pre>\n<p>But I don't think tflite model works with dataframe.<br>\nMore than that, a single paquet file in training data contains multiple sequence_id.</p>\n<p>I guess there should be something wrong in above function. <br>\nCould you please check around this?</p>",
  "messages": [
    {
      "id": 2266984,
      "postDate": "2023-05-20T14:04:05.777Z",
      "content": "<p>You may want to check this comment </p>\n<p><a href=\"https://www.kaggle.com/competitions/asl-fingerspelling/discussion/410459#2265539\" target=\"_blank\">https://www.kaggle.com/competitions/asl-fingerspelling/discussion/410459#2265539</a></p>",
      "rawMarkdown": "You may want to check this comment \n\nhttps://www.kaggle.com/competitions/asl-fingerspelling/discussion/410459#2265539",
      "votes": 1
    },
    {
      "id": 2266955,
      "postDate": "2023-05-20T13:51:50.993Z",
      "content": "<p><a href=\"https://www.kaggle.com/sohier\" target=\"_blank\">@sohier</a></p>\n<p>In evaluation page, it says pandas dataframe is passed to tflite.</p>\n<p>Each video is loaded with the following function:</p>\n<pre><code>def load_relevant_data_subset(pq_path):\n    return pd.read_parquet(pq_path, columns=selected_columns)\n</code></pre>\n<p>But I don't think tflite model works with dataframe.<br>\nMore than that, a single paquet file in training data contains multiple sequence_id.</p>\n<p>I guess there should be something wrong in above function. <br>\nCould you please check around this?</p>",
      "rawMarkdown": "@sohier\n\nIn evaluation page, it says pandas dataframe is passed to tflite.\n\nEach video is loaded with the following function:\n```\ndef load_relevant_data_subset(pq_path):\n    return pd.read_parquet(pq_path, columns=selected_columns)\n```\n\nBut I don't think tflite model works with dataframe.\nMore than that, a single paquet file in training data contains multiple sequence_id.\n\nI guess there should be something wrong in above function. \nCould you please check around this?",
      "votes": 2
    }
  ],
  "comments": [
    {
      "id": 2266984,
      "author_name": "something4kag",
      "author_url": "",
      "post_date": "2023-05-20T14:04:05.777000",
      "content": "<p>You may want to check this comment </p>\n<p><a href=\"https://www.kaggle.com/competitions/asl-fingerspelling/discussion/410459#2265539\" target=\"_blank\">https://www.kaggle.com/competitions/asl-fingerspelling/discussion/410459#2265539</a></p>",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2266984": "You may want to check this comment \n\nhttps://www.kaggle.com/competitions/asl-fingerspelling/discussion/410459#2265539",
    "2266955": "@sohier\n\nIn evaluation page, it says pandas dataframe is passed to tflite.\n\nEach video is loaded with the following function:\n```\ndef load_relevant_data_subset(pq_path):\n    return pd.read_parquet(pq_path, columns=selected_columns)\n```\n\nBut I don't think tflite model works with dataframe.\nMore than that, a single paquet file in training data contains multiple sequence_id.\n\nI guess there should be something wrong in above function. \nCould you please check around this?"
  }
}