選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

bug-report.md 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ---
  2. name: "🐛 Bug report"
  3. about: Create a report to help us improve
  4. title: ''
  5. labels: bug
  6. assignees: ''
  7. ---
  8. Before submitting a bug report, please be aware that your issue **must be reproducible** with all of the following, otherwise it is non-actionable, and we can not help you:
  9. - **Current repo**: run `git fetch && git status -uno` to check and `git pull` to update repo
  10. - **Common dataset**: coco.yaml or coco128.yaml
  11. - **Common environment**: Colab, Google Cloud, or Docker image. See https://github.com/ultralytics/yolov5#environments
  12. If this is a custom dataset/training question you **must include** your `train*.jpg`, `test*.jpg` and `results.png` figures, or we can not help you. You can generate these with `utils.plot_results()`.
  13. ## 🐛 Bug
  14. A clear and concise description of what the bug is.
  15. ## To Reproduce (REQUIRED)
  16. Input:
  17. ```
  18. import torch
  19. a = torch.tensor([5])
  20. c = a / 0
  21. ```
  22. Output:
  23. ```
  24. Traceback (most recent call last):
  25. File "/Users/glennjocher/opt/anaconda3/envs/env1/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3331, in run_code
  26. exec(code_obj, self.user_global_ns, self.user_ns)
  27. File "<ipython-input-5-be04c762b799>", line 5, in <module>
  28. c = a / 0
  29. RuntimeError: ZeroDivisionError
  30. ```
  31. ## Expected behavior
  32. A clear and concise description of what you expected to happen.
  33. ## Environment
  34. If applicable, add screenshots to help explain your problem.
  35. - OS: [e.g. Ubuntu]
  36. - GPU [e.g. 2080 Ti]
  37. ## Additional context
  38. Add any other context about the problem here.