Parcourir la source

check_img_size() update

5.0
Glenn Jocher il y a 4 ans
Parent
révision
a3ee0a8954
1 fichiers modifiés avec 24 ajouts et 10 suppressions
  1. +24
    -10
      .github/ISSUE_TEMPLATE/--bug-report.md

+ 24
- 10
.github/ISSUE_TEMPLATE/--bug-report.md Voir le fichier

@@ -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/yolov5#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:
```
import torch

a = torch.tensor([5])
c = a / 0
```

Output:
```
python train.py ...
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.


Chargement…
Annuler
Enregistrer