{
  "id": 302491,
  "title": "AttributeError: 'NoneType' object has no attribute 'python_exit_status' [YOLOv5]",
  "url": "/competitions/tensorflow-great-barrier-reef/discussion/302491",
  "author_name": "",
  "post_date": "2022-01-22T18:45:01.326752100Z",
  "votes": null,
  "comment_count": 7,
  "views": 0,
  "content": "<p>Does anyone else get AttributeError: 'NoneType' object has no attribute 'python_exit_status'  in the end of the training of YOLOv5 model? How this can be fixed? I'm using this dataset <a href=\"https://www.kaggle.com/awsaf49/yolov5-lib-ds\" target=\"_blank\">https://www.kaggle.com/awsaf49/yolov5-lib-ds</a> as source of YOLOv5 installation.</p>",
  "messages": [
    {
      "id": "1660552",
      "postDate": "01/22/2022 18:45:01",
      "content": "<p>Does anyone else get AttributeError: 'NoneType' object has no attribute 'python_exit_status'  in the end of the training of YOLOv5 model? How this can be fixed? I'm using this dataset <a href=\"https://www.kaggle.com/awsaf49/yolov5-lib-ds\" target=\"_blank\">https://www.kaggle.com/awsaf49/yolov5-lib-ds</a> as source of YOLOv5 installation.</p>",
      "rawMarkdown": "Does anyone else get AttributeError: 'NoneType' object has no attribute 'python_exit_status'  in the end of the training of YOLOv5 model? How this can be fixed? I'm using this dataset https://www.kaggle.com/awsaf49/yolov5-lib-ds as source of YOLOv5 installation.",
      "votes": null
    },
    {
      "id": "1660660",
      "postDate": "01/22/2022 20:43:36",
      "content": "<p>This was Yolov5 error (issued by <a href=\"https://www.kaggle.com/awsaf49\" target=\"_blank\">@awsaf49</a>) and as far as I know fixed - <a href=\"https://github.com/ultralytics/yolov5/issues/5913\" target=\"_blank\">https://github.com/ultralytics/yolov5/issues/5913</a> You probably need to refresh <a href=\"https://www.kaggle.com/awsaf49\" target=\"_blank\">@awsaf49</a> dataset containing Yolov5 library. <a href=\"https://www.kaggle.com/awsaf49\" target=\"_blank\">@awsaf49</a> please correct me if I am wrong.</p>",
      "rawMarkdown": "This was Yolov5 error (issued by @awsaf49) and as far as I know fixed - https://github.com/ultralytics/yolov5/issues/5913 You probably need to refresh @awsaf49 dataset containing Yolov5 library. @awsaf49 please correct me if I am wrong.",
      "votes": null
    },
    {
      "id": "1660666",
      "postDate": "01/22/2022 20:54:59",
      "content": "<p>I saw that issue already, but the problem is that I used latest version of dataset (I tried to use yolov5 only today for a first time for this competition).</p>",
      "rawMarkdown": "I saw that issue already, but the problem is that I used latest version of dataset (I tried to use yolov5 only today for a first time for this competition).",
      "votes": null
    },
    {
      "id": "1660682",
      "postDate": "01/22/2022 21:15:30",
      "content": "<p>I know this is strange but it does not influence on your model. This exception is raised  after model artifacts generation (you have model and training stats). </p>",
      "rawMarkdown": "I know this is strange but it does not influence on your model. This exception is raised  after model artifacts generation (you have model and training stats).",
      "votes": null
    },
    {
      "id": "1660691",
      "postDate": "01/22/2022 21:28:31",
      "content": "<p>I know, but still it's not nice to have smth like that. I can try reducing workers to 0, but it will be really slow.</p>",
      "rawMarkdown": "I know, but still it's not nice to have smth like that. I can try reducing workers to 0, but it will be really slow.",
      "votes": null
    },
    {
      "id": "1660847",
      "postDate": "01/23/2022 02:48:09",
      "content": "<p>This issue is not resolved yet. You can avoid it using <code>workers=0</code>.</p>",
      "rawMarkdown": "This issue is not resolved yet. You can avoid it using `workers=0`.",
      "votes": null
    },
    {
      "id": "1661249",
      "postDate": "01/23/2022 10:29:17",
      "content": "<p>OK, I'll try it.</p>",
      "rawMarkdown": "OK, I'll try it.",
      "votes": null
    },
    {
      "id": "1661719",
      "postDate": "01/23/2022 16:34:28",
      "content": "<p>The error is gone when <code>--workers 0</code> is set. But the runtime has increased by 20 mins (I've set to train 1 epoch).</p>",
      "rawMarkdown": "The error is gone when `--workers 0` is set. But the runtime has increased by 20 mins (I've set to train 1 epoch).",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1660660,
      "author_name": "remekkinas",
      "author_url": "",
      "post_date": "01/22/2022 20:43:36",
      "content": "<p>This was Yolov5 error (issued by <a href=\"https://www.kaggle.com/awsaf49\" target=\"_blank\">@awsaf49</a>) and as far as I know fixed - <a href=\"https://github.com/ultralytics/yolov5/issues/5913\" target=\"_blank\">https://github.com/ultralytics/yolov5/issues/5913</a> You probably need to refresh <a href=\"https://www.kaggle.com/awsaf49\" target=\"_blank\">@awsaf49</a> dataset containing Yolov5 library. <a href=\"https://www.kaggle.com/awsaf49\" target=\"_blank\">@awsaf49</a> please correct me if I am wrong.</p>",
      "votes": null,
      "replies": [
        {
          "id": 1660666,
          "author_name": "atamazian",
          "author_url": "",
          "post_date": "01/22/2022 20:54:59",
          "content": "<p>I saw that issue already, but the problem is that I used latest version of dataset (I tried to use yolov5 only today for a first time for this competition).</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1660682,
          "author_name": "remekkinas",
          "author_url": "",
          "post_date": "01/22/2022 21:15:30",
          "content": "<p>I know this is strange but it does not influence on your model. This exception is raised  after model artifacts generation (you have model and training stats). </p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1660691,
          "author_name": "atamazian",
          "author_url": "",
          "post_date": "01/22/2022 21:28:31",
          "content": "<p>I know, but still it's not nice to have smth like that. I can try reducing workers to 0, but it will be really slow.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1660847,
          "author_name": "awsaf49",
          "author_url": "",
          "post_date": "01/23/2022 02:48:09",
          "content": "<p>This issue is not resolved yet. You can avoid it using <code>workers=0</code>.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1661249,
          "author_name": "atamazian",
          "author_url": "",
          "post_date": "01/23/2022 10:29:17",
          "content": "<p>OK, I'll try it.</p>",
          "votes": null,
          "replies": []
        },
        {
          "id": 1661719,
          "author_name": "atamazian",
          "author_url": "",
          "post_date": "01/23/2022 16:34:28",
          "content": "<p>The error is gone when <code>--workers 0</code> is set. But the runtime has increased by 20 mins (I've set to train 1 epoch).</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "1660552": "Does anyone else get AttributeError: 'NoneType' object has no attribute 'python_exit_status'  in the end of the training of YOLOv5 model? How this can be fixed? I'm using this dataset https://www.kaggle.com/awsaf49/yolov5-lib-ds as source of YOLOv5 installation.",
    "1660660": "This was Yolov5 error (issued by @awsaf49) and as far as I know fixed - https://github.com/ultralytics/yolov5/issues/5913 You probably need to refresh @awsaf49 dataset containing Yolov5 library. @awsaf49 please correct me if I am wrong.",
    "1660666": "I saw that issue already, but the problem is that I used latest version of dataset (I tried to use yolov5 only today for a first time for this competition).",
    "1660682": "I know this is strange but it does not influence on your model. This exception is raised  after model artifacts generation (you have model and training stats).",
    "1660691": "I know, but still it's not nice to have smth like that. I can try reducing workers to 0, but it will be really slow.",
    "1660847": "This issue is not resolved yet. You can avoid it using `workers=0`.",
    "1661249": "OK, I'll try it.",
    "1661719": "The error is gone when `--workers 0` is set. But the runtime has increased by 20 mins (I've set to train 1 epoch)."
  },
  "source": "meta"
}