update --bug-report.md
This commit is contained in:
parent
f51ace44f9
commit
512b518c20
|
@ -7,29 +7,43 @@ assignees: ''
|
|||
|
||||
---
|
||||
|
||||
Before submitting a bug report, please ensure that you are using the latest versions of:
|
||||
- Python
|
||||
- PyTorch
|
||||
- This repository (run `git fetch && git status -uno` to check and `git pull` to update)
|
||||
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:
|
||||
- **Current repository**: run `git fetch && git status -uno` to check and `git pull` to update your repo
|
||||
- **Common dataset**: coco.yaml or coco128.yaml
|
||||
- **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 training question we suggest you include your `train*.jpg`, `test*.jpg` and `results.png` figures.
|
||||
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()`.
|
||||
|
||||
|
||||
## 🐛 Bug
|
||||
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
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
|
||||
## Environment
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
|
|
Loading…
Reference in New Issue