allanzelener / YAD2K

YAD2K: Yet Another Darknet 2 Keras
Other
2.71k stars 879 forks source link

convert yolo9000.weights error #191

Open futureflsl opened 3 years ago

futureflsl commented 3 years ago

np_resource = np.dtype([("resource", np.ubyte, 1)]) Loading weights. Weights Header: [ 0 1 0 15501312] Parsing Darknet config. Traceback (most recent call last): File "./yad2k.py", line 270, in _main(parser.parse_args()) File "./yad2k.py", line 91, in _main cfg_parser.read_file(unique_config_file) File "/home/fut/anaconda3/envs/fut/lib/python3.7/configparser.py", line 717, in read_file self._read(f, source) File "/home/fut/anaconda3/envs/fut/lib/python3.7/configparser.py", line 1091, in _read fpname, lineno) configparser.DuplicateOptionError: While reading from '<???>' [line 4]: option 'batch' in section 'net_0' already exists