{
  "id": 402473,
  "title": "Convert TSIA models to tflite?",
  "url": "/competitions/asl-signs/discussion/402473",
  "author_name": "",
  "post_date": "2023-04-18T14:34:47.645350300Z",
  "votes": null,
  "comment_count": 1,
  "views": 0,
  "content": "<p>HI,<br>\nI've developed models with TSTPlus (<a href=\"https://williamsdoug.github.io/tsai/models.TSTPlus.html\" target=\"_blank\">link</a>) and InceptionTimePlus (<a href=\"meseriesai.github.io/tsai//models.xceptiontimeplus.html\" target=\"_blank\">link</a>) from the tsai library (<a href=\"https://github.com/timeseriesAI/tsai\" target=\"_blank\">link</a>).  TSAI has \"Timeseries Deep Learning Machine Learning Pytorch fastai | State-of-the-art Deep Learning library for Time Series and Sequences in Pytorch / fastai.\"   </p>\n<p>For fun I tried to use a modified version of my pytorch conversion script and it threw an error at the *torch.onnx.export() *- **TypeError: hasattr(): attribute name must be string.  **  So, I guessing we need another approach.</p>\n<p>Do you have any advice to make this conversion? Or, do I have to convert the model by hand?</p>\n<p>Thanks,<br>\njh </p>",
  "messages": [
    {
      "id": "2225947",
      "postDate": "04/18/2023 14:34:47",
      "content": "<p>HI,<br>\nI've developed models with TSTPlus (<a href=\"https://williamsdoug.github.io/tsai/models.TSTPlus.html\" target=\"_blank\">link</a>) and InceptionTimePlus (<a href=\"meseriesai.github.io/tsai//models.xceptiontimeplus.html\" target=\"_blank\">link</a>) from the tsai library (<a href=\"https://github.com/timeseriesAI/tsai\" target=\"_blank\">link</a>).  TSAI has \"Timeseries Deep Learning Machine Learning Pytorch fastai | State-of-the-art Deep Learning library for Time Series and Sequences in Pytorch / fastai.\"   </p>\n<p>For fun I tried to use a modified version of my pytorch conversion script and it threw an error at the *torch.onnx.export() *- **TypeError: hasattr(): attribute name must be string.  **  So, I guessing we need another approach.</p>\n<p>Do you have any advice to make this conversion? Or, do I have to convert the model by hand?</p>\n<p>Thanks,<br>\njh </p>",
      "rawMarkdown": "HI,\nI've developed models with TSTPlus ([link](https://williamsdoug.github.io/tsai/models.TSTPlus.html)) and InceptionTimePlus ([link](meseriesai.github.io/tsai//models.xceptiontimeplus.html)) from the tsai library ([link](https://github.com/timeseriesAI/tsai)).  TSAI has \"Timeseries Deep Learning Machine Learning Pytorch fastai | State-of-the-art Deep Learning library for Time Series and Sequences in Pytorch / fastai.\"   \n\nFor fun I tried to use a modified version of my pytorch conversion script and it threw an error at the *torch.onnx.export() *- **TypeError: hasattr(): attribute name must be string.  **  So, I guessing we need another approach.\n\nDo you have any advice to make this conversion? Or, do I have to convert the model by hand?\n\nThanks,\njh",
      "votes": null
    },
    {
      "id": "2225948",
      "postDate": "04/18/2023 14:35:32",
      "content": "<p>That's TSAI not TSIA.  :)</p>",
      "rawMarkdown": "That's TSAI not TSIA.  :)",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2225948,
      "author_name": "hanratty",
      "author_url": "",
      "post_date": "04/18/2023 14:35:32",
      "content": "<p>That's TSAI not TSIA.  :)</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2225947": "HI,\nI've developed models with TSTPlus ([link](https://williamsdoug.github.io/tsai/models.TSTPlus.html)) and InceptionTimePlus ([link](meseriesai.github.io/tsai//models.xceptiontimeplus.html)) from the tsai library ([link](https://github.com/timeseriesAI/tsai)).  TSAI has \"Timeseries Deep Learning Machine Learning Pytorch fastai | State-of-the-art Deep Learning library for Time Series and Sequences in Pytorch / fastai.\"   \n\nFor fun I tried to use a modified version of my pytorch conversion script and it threw an error at the *torch.onnx.export() *- **TypeError: hasattr(): attribute name must be string.  **  So, I guessing we need another approach.\n\nDo you have any advice to make this conversion? Or, do I have to convert the model by hand?\n\nThanks,\njh",
    "2225948": "That's TSAI not TSIA.  :)"
  },
  "source": "meta"
}