5a9fb2411d89749c9afad21bee50c67b1b2afc1e,utils/parse_config.py,,parse_model_cfg,#Any#,1
Before Change
module_defs[-1]["batch_normalize"] = 0 // pre-populate with zeros (may be overwritten later)
else:
key, value = line.split("=")
value = value.strip()
module_defs[-1][key.rstrip()] = value.strip()
return module_defs
After Change
key, val = line.split("=")
key = key.rstrip()
if "anchors" in key:
mdefs[-1][key] = np.array([float(x) for x in val.split(",")]).reshape((-1, 2)) // np anchors
else:
mdefs[-1][key] = val.strip()
return mdefs
def parse_data_cfg(path):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: ultralytics/yolov3
Commit Name: 5a9fb2411d89749c9afad21bee50c67b1b2afc1e
Time: 2019-08-15
Author: glenn.jocher@ultralytics.com
File Name: utils/parse_config.py
Class Name:
Method Name: parse_model_cfg
Project Name: CyberReboot/poseidon
Commit Name: 5cb94b6e5b7b338fd93eaf630ce0bdd634bffcc1
Time: 2016-08-15
Author: tlanham@cs.stanford.edu
File Name: poseidon/poseidonStorage/poseidonStorage.py
Class Name: poseidonStorage
Method Name: __init__
Project Name: EducationalTestingService/skll
Commit Name: ca10c185d94470054d693f19e7691523dbe3ec55
Time: 2019-03-05
Author: jbiggs@ets.org
File Name: skll/data/readers.py
Class Name: NDJReader
Method Name: _sub_read
Project Name: CyberReboot/poseidon
Commit Name: 1e31662e13af69823c58cbc4c4332b8530aaaa47
Time: 2016-08-12
Author: tlanham@cs.stanford.edu
File Name: poseidon/poseidonStorage/poseidonStorage.py
Class Name: poseidonStorage
Method Name: __init__