update --bug-report.md

This commit is contained in:
Glenn Jocher 2020-06-18 12:39:33 -07:00
parent f51ace44f9
commit 512b518c20
1 changed files with 24 additions and 10 deletions

View File

@ -7,29 +7,43 @@ assignees: ''
--- ---
Before submitting a bug report, please ensure that you are using the latest versions of: 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:
- Python - **Current repository**: run `git fetch && git status -uno` to check and `git pull` to update your repo
- PyTorch - **Common dataset**: coco.yaml or coco128.yaml
- This repository (run `git fetch && git status -uno` to check and `git pull` to update) - **Common environment**: Colab, Google Cloud, or Docker image. See https://github.com/ultralytics/yolov3#reproduce-our-environment
**Your issue must be reproducible on a public dataset (i.e COCO) using the latest version of the repository, and you must supply code to reproduce, or we can not help you.** 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 results.png with `utils.plot_results()`.
If this is a custom training question we suggest you include your `train*.jpg`, `test*.jpg` and `results.png` figures.
## 🐛 Bug ## 🐛 Bug
A clear and concise description of what the bug is. A clear and concise description of what the bug is.
## To Reproduce
**REQUIRED**: Code to reproduce your issue below ## To Reproduce (REQUIRED)
Input:
``` ```
python train.py ... import torch
a = torch.tensor([5])
c = a / 0
```
Output:
```
Traceback (most recent call last):
File "/Users/glennjocher/opt/anaconda3/envs/env1/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3331, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-5-be04c762b799>", line 5, in <module>
c = a / 0
RuntimeError: ZeroDivisionError
``` ```
## Expected behavior ## Expected behavior
A clear and concise description of what you expected to happen. A clear and concise description of what you expected to happen.
## Environment ## Environment
If applicable, add screenshots to help explain your problem. If applicable, add screenshots to help explain your problem.