PyCharm returned me an AssertionError: '' acceptable suffix is ['.pt']. But, when I changed the default value of --weights from 'yolov5s.pt' to '', train.py worked successfully. What is the reason?
111, in train check_suffix(weights, '.pt') # check weights File "/home/k539i/Documents/projects/yolov5/utils/general.py", line 301, in check_suffix assert Path(f).suffix.lower() in suffix, f"{msg}{f} acceptable suffix is {suffix}" AssertionError: '' acceptable suffix is ['.pt'...