{
  "id": 156880,
  "title": "Pytorch vs Keras !",
  "url": "/competitions/prostate-cancer-grade-assessment/discussion/156880",
  "author_name": "Yaheaal",
  "post_date": "2020-06-08T10:20:09.065000",
  "votes": 0,
  "comment_count": 7,
  "views": 0,
  "content": "<p>Hello , I've been studding machine learning for 1.5 year now , and one of the thing I learned was keras, I've worked on some projects about image classification on kaggle  and I noticed that most people on kaggle works with pytorch , and some how the accuracy is better with pytorch than keras using the same algorithm .</p>\n\n<p>So now I wan't to start to learn pytorch with keras for the reasons I mentioned , any one can provide me with good free resources where I can learn <strong>how to build a custom class that inherit from pytorch class to prepare and preprocess the images , then to build the algorithm using pytorch .</strong></p>\n\n<p>Thanks .</p>",
  "messages": [
    {
      "id": 878778,
      "postDate": "2020-06-08T20:41:21.463Z",
      "content": "<p>While Im a pytorch user myself the efficientnet top public kernel uses efficientnets (in pytorch) which are known to be faster on keras than pytorch (afaik). I don't see why keras wouldn't be competitive if you try that method.</p>",
      "rawMarkdown": "While Im a pytorch user myself the efficientnet top public kernel uses efficientnets (in pytorch) which are known to be faster on keras than pytorch (afaik). I don't see why keras wouldn't be competitive if you try that method.",
      "votes": 1,
      "replies": [
        {
          "id": 879216,
          "postDate": "2020-06-09T09:57:53.237Z",
          "content": "<p>yea maybe keras is faster (I am not sure about that), but it is good also to learn pytorch so I can work with both, if the team I am working with are working with any of them :)</p>",
          "rawMarkdown": "yea maybe keras is faster (I am not sure about that), but it is good also to learn pytorch so I can work with both, if the team I am working with are working with any of them :)"
        },
        {
          "id": 879669,
          "postDate": "2020-06-09T16:14:10.660Z",
          "content": "<p>I agree with you <a href=\"/arroqc\">@arroqc</a>, even though the community support for tensorflow is a bit less</p>",
          "rawMarkdown": "I agree with you @arroqc, even though the community support for tensorflow is a bit less"
        }
      ]
    },
    {
      "id": 878650,
      "postDate": "2020-06-08T17:49:08.190Z",
      "content": "<p>Check out this link: <a href=\"https://github.com/ritchieng/the-incredible-pytorch\">the-incredible-pytorch</a> You can find a great curated list of tutorials, papers, projects, communities and more relating to PyTorch.</p>",
      "rawMarkdown": "Check out this link: [the-incredible-pytorch](https://github.com/ritchieng/the-incredible-pytorch) You can find a great curated list of tutorials, papers, projects, communities and more relating to PyTorch.",
      "replies": [
        {
          "id": 878764,
          "postDate": "2020-06-08T20:06:54.593Z",
          "content": "<p>Thanks :)</p>",
          "rawMarkdown": "Thanks :)"
        }
      ]
    },
    {
      "id": 878452,
      "postDate": "2020-06-08T14:39:53.200Z",
      "content": "<p><a href=\"/yaheaal\">@yaheaal</a> check below learning program to learn pytorch:</p>\n\n<p><a href=\"https://github.com/tinkerhub-org/ComputerVision-with-PyTorch-Learning-Program/\">https://github.com/tinkerhub-org/ComputerVision-with-PyTorch-Learning-Program/</a></p>",
      "rawMarkdown": "@yaheaal check below learning program to learn pytorch:\n\nhttps://github.com/tinkerhub-org/ComputerVision-with-PyTorch-Learning-Program/",
      "replies": [
        {
          "id": 878468,
          "postDate": "2020-06-08T14:58:36.633Z",
          "content": "<p>Thanks ;)</p>",
          "rawMarkdown": "Thanks ;)"
        }
      ]
    },
    {
      "id": 878174,
      "postDate": "2020-06-08T10:20:09.067Z",
      "content": "<p>Hello , I've been studding machine learning for 1.5 year now , and one of the thing I learned was keras, I've worked on some projects about image classification on kaggle  and I noticed that most people on kaggle works with pytorch , and some how the accuracy is better with pytorch than keras using the same algorithm .</p>\n\n<p>So now I wan't to start to learn pytorch with keras for the reasons I mentioned , any one can provide me with good free resources where I can learn <strong>how to build a custom class that inherit from pytorch class to prepare and preprocess the images , then to build the algorithm using pytorch .</strong></p>\n\n<p>Thanks .</p>",
      "rawMarkdown": "Hello , I've been studding machine learning for 1.5 year now , and one of the thing I learned was keras, I've worked on some projects about image classification on kaggle  and I noticed that most people on kaggle works with pytorch , and some how the accuracy is better with pytorch than keras using the same algorithm .\n\nSo now I wan't to start to learn pytorch with keras for the reasons I mentioned , any one can provide me with good free resources where I can learn **how to build a custom class that inherit from pytorch class to prepare and preprocess the images , then to build the algorithm using pytorch .**\n\nThanks ."
    }
  ],
  "comments": [
    {
      "id": 878778,
      "author_name": "Arnaud Roussel",
      "author_url": "",
      "post_date": "2020-06-08T20:41:21.463000",
      "content": "<p>While Im a pytorch user myself the efficientnet top public kernel uses efficientnets (in pytorch) which are known to be faster on keras than pytorch (afaik). I don't see why keras wouldn't be competitive if you try that method.</p>",
      "votes": 1,
      "replies": [
        {
          "id": 879216,
          "author_name": "Yaheaal",
          "author_url": "",
          "post_date": "2020-06-09T09:57:53.237000",
          "content": "<p>yea maybe keras is faster (I am not sure about that), but it is good also to learn pytorch so I can work with both, if the team I am working with are working with any of them :)</p>",
          "votes": 0,
          "replies": []
        },
        {
          "id": 879669,
          "author_name": "Kurian Benoy",
          "author_url": "",
          "post_date": "2020-06-09T16:14:10.660000",
          "content": "<p>I agree with you <a href=\"/arroqc\">@arroqc</a>, even though the community support for tensorflow is a bit less</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 878650,
      "author_name": "Fais K",
      "author_url": "",
      "post_date": "2020-06-08T17:49:08.190000",
      "content": "<p>Check out this link: <a href=\"https://github.com/ritchieng/the-incredible-pytorch\">the-incredible-pytorch</a> You can find a great curated list of tutorials, papers, projects, communities and more relating to PyTorch.</p>",
      "votes": 0,
      "replies": [
        {
          "id": 878764,
          "author_name": "Yaheaal",
          "author_url": "",
          "post_date": "2020-06-08T20:06:54.593000",
          "content": "<p>Thanks :)</p>",
          "votes": 0,
          "replies": []
        }
      ]
    },
    {
      "id": 878452,
      "author_name": "Kurian Benoy",
      "author_url": "",
      "post_date": "2020-06-08T14:39:53.200000",
      "content": "<p><a href=\"/yaheaal\">@yaheaal</a> check below learning program to learn pytorch:</p>\n\n<p><a href=\"https://github.com/tinkerhub-org/ComputerVision-with-PyTorch-Learning-Program/\">https://github.com/tinkerhub-org/ComputerVision-with-PyTorch-Learning-Program/</a></p>",
      "votes": 0,
      "replies": [
        {
          "id": 878468,
          "author_name": "Yaheaal",
          "author_url": "",
          "post_date": "2020-06-08T14:58:36.633000",
          "content": "<p>Thanks ;)</p>",
          "votes": 0,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "878778": "While Im a pytorch user myself the efficientnet top public kernel uses efficientnets (in pytorch) which are known to be faster on keras than pytorch (afaik). I don't see why keras wouldn't be competitive if you try that method.",
    "878650": "Check out this link: [the-incredible-pytorch](https://github.com/ritchieng/the-incredible-pytorch) You can find a great curated list of tutorials, papers, projects, communities and more relating to PyTorch.",
    "878452": "@yaheaal check below learning program to learn pytorch:\n\nhttps://github.com/tinkerhub-org/ComputerVision-with-PyTorch-Learning-Program/",
    "878174": "Hello , I've been studding machine learning for 1.5 year now , and one of the thing I learned was keras, I've worked on some projects about image classification on kaggle  and I noticed that most people on kaggle works with pytorch , and some how the accuracy is better with pytorch than keras using the same algorithm .\n\nSo now I wan't to start to learn pytorch with keras for the reasons I mentioned , any one can provide me with good free resources where I can learn **how to build a custom class that inherit from pytorch class to prepare and preprocess the images , then to build the algorithm using pytorch .**\n\nThanks ."
  }
}