{
  "id": 145885,
  "title": "File not found when trying to load weights uploaded as a dataset?",
  "url": "/competitions/flower-classification-with-tpus/discussion/145885",
  "author_name": "",
  "post_date": "2020-04-24T23:34:11.662938Z",
  "votes": 1,
  "comment_count": 1,
  "views": 0,
  "content": "<p>So Ive trained a model on Google Colab and saved the weights to my desktop (ran out of tpu , will just train on kernel next week)</p>\n\n<p>then I uploaded it as a dataset and added it to my kernel </p>\n\n<p>then I build and compile my model and call model.load_weights('.../input/...') and specify the folder and file name after input</p>\n\n<p>but I receive an os error file not found.  I tried loading the sample submission csv from the competition files and it works</p>\n\n<p>this is the error:\n<code>OSError: Unable to open file (unable to open file: name = '.../input/siamese-weights/siamese_weights.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)</code></p>",
  "messages": [
    {
      "id": "819845",
      "postDate": "04/24/2020 23:34:11",
      "content": "<p>So Ive trained a model on Google Colab and saved the weights to my desktop (ran out of tpu , will just train on kernel next week)</p>\n\n<p>then I uploaded it as a dataset and added it to my kernel </p>\n\n<p>then I build and compile my model and call model.load_weights('.../input/...') and specify the folder and file name after input</p>\n\n<p>but I receive an os error file not found.  I tried loading the sample submission csv from the competition files and it works</p>\n\n<p>this is the error:\n<code>OSError: Unable to open file (unable to open file: name = '.../input/siamese-weights/siamese_weights.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)</code></p>",
      "rawMarkdown": "So Ive trained a model on Google Colab and saved the weights to my desktop (ran out of tpu , will just train on kernel next week)\n\nthen I uploaded it as a dataset and added it to my kernel \n\nthen I build and compile my model and call model.load_weights('.../input/...') and specify the folder and file name after input\n\nbut I receive an os error file not found.  I tried loading the sample submission csv from the competition files and it works\n\nthis is the error:\n`OSError: Unable to open file (unable to open file: name = '.../input/siamese-weights/siamese_weights.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)`",
      "votes": null
    },
    {
      "id": "929690",
      "postDate": "07/14/2020 21:10:43",
      "content": "",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 929690,
      "author_name": "kiranrgupta26",
      "author_url": "",
      "post_date": "07/14/2020 21:10:43",
      "content": "",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "819845": "So Ive trained a model on Google Colab and saved the weights to my desktop (ran out of tpu , will just train on kernel next week)\n\nthen I uploaded it as a dataset and added it to my kernel \n\nthen I build and compile my model and call model.load_weights('.../input/...') and specify the folder and file name after input\n\nbut I receive an os error file not found.  I tried loading the sample submission csv from the competition files and it works\n\nthis is the error:\n`OSError: Unable to open file (unable to open file: name = '.../input/siamese-weights/siamese_weights.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)`",
    "929690": ""
  },
  "source": "meta"
}