Merge pull request #150 from JWLee89/jaylee
Updated gen_wts_yoloV5.py - cfg file fails to write due to encoding issues
This commit is contained in:
@@ -124,7 +124,7 @@ with open(wts_file, "w") as f:
|
||||
f.write(wts_write)
|
||||
|
||||
with open(cfg_file, "w") as c:
|
||||
with open(yaml_file, "r") as f:
|
||||
with open(yaml_file, "r", encoding="utf-8") as f:
|
||||
nc = 0
|
||||
depth_multiple = 0
|
||||
width_multiple = 0
|
||||
|
||||
Reference in New Issue
Block a user