shelgi

Results 2 issues of shelgi

当我尝试运行val_det.py时,提示forward()出现了未知的参数val,然后查看代码 ![image.png](https://s2.loli.net/2022/09/30/B2dvWwfaFgVsJqY.png) 但是去models/common.py中查看DetectMultiBackend()却发现forward()中并没有val这个参数 ![image.png](https://s2.loli.net/2022/09/30/Li3pFVxo59cDub8.png) 所以这应该是个小bug或者是没有及时更新的地方,无论是在common.py的forward()中添加一个val参数或者是去掉推理时的val=True都可以解决这个问题.

When i use `hevc` as videowrite encoder and not set `preset`,i get error as pic ![image](https://github.com/user-attachments/assets/ce5647db-5f77-496a-b1ea-246d7eebfe35) from this error, i track the code and find the default `preset = p2`...