1. detect.py run error: IndexError: list index out of range Reason: Path error
Solution: Add r in front of the path before the path
2.subprocess.CalledProcessError: Command ‘git tag‘ returned non-zero exit status
Solution: open the python environment and find the subprocess.py in Lib, change the check value to False in line 415.
My path is D:\Miniconda3\envs\pytorch\Lib
3.UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xb2 in position 6:invalidstartbyte
Solution: in line 58 of the torch_utils.py file, modify the original decode() to decode(encoding = ‘gbk’)
Read More:
- AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘H:\\yolov5-5.0\\models\\
- How to Solve Ubuntu18 Compile Kalibr Error (Various Errors)
- Common solutions to errors in checkout or commit of SVN
- Common errors and modification methods of findbug
- Analysis and solution of common errors in ArcEngine development
- R-common errors and their possible causes — Notes
- Common errors and solutions in MapReduce stage
- Summary of common errors in angularjs
- Common errors and solutions of Qt development application under Ubuntu
- Kafka connection abnormal org.apache.kafka . common.errors.TimeoutException : Failed to update metadata after 60000 ms.
- Common errors in k8s initialization_ [WARNING NumCPU]_ [WARNING SystemVerification]_ WARNING Hostname
- C + + common errors: “error: XXX in namespace ‘STD’ does not name a template type”
- Common errors reported by Eureka in spring cloud
- How to use C # to get image format without system. Drawing. Common
- SQL Union, union all usage and common errors and Solutions
- Python windows error: [error 3] and common windows error errors
- How to Fix errors in Chinese input of latex
- Graphviz. Backend. Executablenotfound: failed to execute ‘dot’ Python uses graphviz to solve drawing errors
- Spring boot integrates Mongo to solve some common connection and permission problems. Docker compose installs Mongo