Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

bug-report.md 1.5KB

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