{
  "id": 540552,
  "title": "What is the correct file path? (If you get an error, please check it)",
  "url": "/competitions/jane-street-real-time-market-data-forecasting/discussion/540552",
  "author_name": "takaito",
  "post_date": "2024-10-15T03:54:29.856000",
  "votes": 8,
  "comment_count": 0,
  "views": 0,
  "content": "<p>I used the code in the shared notebook(<a href=\"https://www.kaggle.com/code/ryanholbrook/jane-street-rmf-demo-submission\" target=\"_blank\">Jane Street RMF Demo Submission</a>) and got an error.</p>\n<pre><code>inference_server = kaggle_evaluation.jane_street_inference_server.JSInferenceServer(predict)\n\n os.getenv():\n    inference_server.serve()\n:\n    inference_server.run_local_gateway(\n        (\n            ,\n            ,\n        )\n    )\n</code></pre>\n<p>I had to change the file path as follows:</p>\n<pre><code>inference_server = kaggle_evaluation.jane_street_inference_server.JSInferenceServer(predict)\n\n os.getenv():\n    inference_server.serve()\n:\n    inference_server.run_local_gateway(\n        (\n            ,\n            ,\n        )\n    )\n</code></pre>\n<p>I don't know why there is such a difference, but which is the correct file path?</p>\n<p><strong>jane-street-realtime-marketdata-forecastin</strong></p>\n<p><strong>jane-street-real-time-market-data-forecasting</strong></p>\n<p>I hope this will be of some help.</p>",
  "messages": [
    {
      "id": 3017617,
      "postDate": "2024-10-15T03:54:29.857Z",
      "content": "<p>I used the code in the shared notebook(<a href=\"https://www.kaggle.com/code/ryanholbrook/jane-street-rmf-demo-submission\" target=\"_blank\">Jane Street RMF Demo Submission</a>) and got an error.</p>\n<pre><code>inference_server = kaggle_evaluation.jane_street_inference_server.JSInferenceServer(predict)\n\n os.getenv():\n    inference_server.serve()\n:\n    inference_server.run_local_gateway(\n        (\n            ,\n            ,\n        )\n    )\n</code></pre>\n<p>I had to change the file path as follows:</p>\n<pre><code>inference_server = kaggle_evaluation.jane_street_inference_server.JSInferenceServer(predict)\n\n os.getenv():\n    inference_server.serve()\n:\n    inference_server.run_local_gateway(\n        (\n            ,\n            ,\n        )\n    )\n</code></pre>\n<p>I don't know why there is such a difference, but which is the correct file path?</p>\n<p><strong>jane-street-realtime-marketdata-forecastin</strong></p>\n<p><strong>jane-street-real-time-market-data-forecasting</strong></p>\n<p>I hope this will be of some help.</p>",
      "rawMarkdown": "I used the code in the shared notebook([Jane Street RMF Demo Submission](https://www.kaggle.com/code/ryanholbrook/jane-street-rmf-demo-submission)) and got an error.\n\n```python\ninference_server = kaggle_evaluation.jane_street_inference_server.JSInferenceServer(predict)\n\nif os.getenv('KAGGLE_IS_COMPETITION_RERUN'):\n    inference_server.serve()\nelse:\n    inference_server.run_local_gateway(\n        (\n            '/kaggle/input/jane-street-realtime-marketdata-forecasting/test.parquet',\n            '/kaggle/input/jane-street-realtime-marketdata-forecasting/lags.parquet',\n        )\n    )\n```\n\nI had to change the file path as follows:\n\n```python\ninference_server = kaggle_evaluation.jane_street_inference_server.JSInferenceServer(predict)\n\nif os.getenv('KAGGLE_IS_COMPETITION_RERUN'):\n    inference_server.serve()\nelse:\n    inference_server.run_local_gateway(\n        (\n            '/kaggle/input/jane-street-real-time-market-data-forecasting/test.parquet',\n            '/kaggle/input/jane-street-real-time-market-data-forecasting/lags.parquet',\n        )\n    )\n```\n\nI don't know why there is such a difference, but which is the correct file path?\n\n**jane-street-realtime-marketdata-forecastin**\n\n**jane-street-real-time-market-data-forecasting**\n\nI hope this will be of some help.",
      "votes": 8
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "3017617": "I used the code in the shared notebook([Jane Street RMF Demo Submission](https://www.kaggle.com/code/ryanholbrook/jane-street-rmf-demo-submission)) and got an error.\n\n```python\ninference_server = kaggle_evaluation.jane_street_inference_server.JSInferenceServer(predict)\n\nif os.getenv('KAGGLE_IS_COMPETITION_RERUN'):\n    inference_server.serve()\nelse:\n    inference_server.run_local_gateway(\n        (\n            '/kaggle/input/jane-street-realtime-marketdata-forecasting/test.parquet',\n            '/kaggle/input/jane-street-realtime-marketdata-forecasting/lags.parquet',\n        )\n    )\n```\n\nI had to change the file path as follows:\n\n```python\ninference_server = kaggle_evaluation.jane_street_inference_server.JSInferenceServer(predict)\n\nif os.getenv('KAGGLE_IS_COMPETITION_RERUN'):\n    inference_server.serve()\nelse:\n    inference_server.run_local_gateway(\n        (\n            '/kaggle/input/jane-street-real-time-market-data-forecasting/test.parquet',\n            '/kaggle/input/jane-street-real-time-market-data-forecasting/lags.parquet',\n        )\n    )\n```\n\nI don't know why there is such a difference, but which is the correct file path?\n\n**jane-street-realtime-marketdata-forecastin**\n\n**jane-street-real-time-market-data-forecasting**\n\nI hope this will be of some help."
  }
}