glenn-jocher commited on
Commit
a3ee0a8
Β·
1 Parent(s): 1014583

check_img_size() update

Browse files
.github/ISSUE_TEMPLATE/--bug-report.md CHANGED
@@ -7,29 +7,43 @@ assignees: ''
7
 
8
  ---
9
 
10
- Before submitting a bug report, please ensure that you are using the latest versions of:
11
- - Python
12
- - PyTorch
13
- - This repository (run `git fetch && git status -uno` to check and `git pull` to update)
14
 
15
- **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.**
16
-
17
- If this is a custom training question we suggest you include your `train*.jpg`, `test*.jpg` and `results.png` figures.
18
 
19
 
20
  ## πŸ› Bug
21
  A clear and concise description of what the bug is.
22
 
23
- ## To Reproduce
24
- **REQUIRED**: Code to reproduce your issue below
 
 
 
 
 
 
 
 
 
 
25
  ```
26
- python train.py ...
 
 
 
 
 
27
  ```
28
 
29
 
30
  ## Expected behavior
31
  A clear and concise description of what you expected to happen.
32
 
 
33
  ## Environment
34
  If applicable, add screenshots to help explain your problem.
35
 
 
7
 
8
  ---
9
 
10
+ 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:
11
+ - **Current repository**: run `git fetch && git status -uno` to check and `git pull` to update your repo
12
+ - **Common dataset**: coco.yaml or coco128.yaml
13
+ - **Common environment**: Colab, Google Cloud, or Docker image. See https://github.com/ultralytics/yolov5#reproduce-our-environment
14
 
15
+ 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()`.
 
 
16
 
17
 
18
  ## πŸ› Bug
19
  A clear and concise description of what the bug is.
20
 
21
+
22
+ ## To Reproduce (REQUIRED)
23
+
24
+ Input:
25
+ ```
26
+ import torch
27
+
28
+ a = torch.tensor([5])
29
+ c = a / 0
30
+ ```
31
+
32
+ Output:
33
  ```
34
+ Traceback (most recent call last):
35
+ File "/Users/glennjocher/opt/anaconda3/envs/env1/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3331, in run_code
36
+ exec(code_obj, self.user_global_ns, self.user_ns)
37
+ File "<ipython-input-5-be04c762b799>", line 5, in <module>
38
+ c = a / 0
39
+ RuntimeError: ZeroDivisionError
40
  ```
41
 
42
 
43
  ## Expected behavior
44
  A clear and concise description of what you expected to happen.
45
 
46
+
47
  ## Environment
48
  If applicable, add screenshots to help explain your problem.
49