b0502b1b0c2059f314968e30596d9aca8838f266,deeppavlov/settings.py,,main,#,30
Before Change
args = parser.parse_args()
path = args.path
if args.mode == "settings":
if args.default:
set_settings_default()
else:
if not path:
print(f"Current DeepPavlov settings path: {get_settings_path()}")
else:
path = Path(os.getcwd(), path).resolve()
set_settings_path(path)
if __name__ == "__main__":
main()
After Change
if populate_settings_dir(force=True):
print(f"Populated {path} with default settings files")
else:
print(f"{path} is already a default settings directory")
else:
print(f"Current DeepPavlov settings path: {path}")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: deepmipt/DeepPavlov
Commit Name: b0502b1b0c2059f314968e30596d9aca8838f266
Time: 2018-12-11
Author: yoptar@gmail.com
File Name: deeppavlov/settings.py
Class Name:
Method Name: main
Project Name: KhronosGroup/NNEF-Tools
Commit Name: 090d93d59bfcf4c6d52cf942d0b599935a7d1440
Time: 2019-02-26
Author: tamas.danyluk@aimotive.com
File Name: au-zone/nnef_converter/common/nnef_converter.py
Class Name: NNEFImporter
Method Name: run
Project Name: tensorlayer/tensorlayer
Commit Name: 4435baedea999888bbb820544fe59a354d89d567
Time: 2017-01-12
Author: boscotsang3@gmail.com
File Name: tensorlayer/files.py
Class Name:
Method Name: load_wmt_en_fr_dataset
Project Name: zsdonghao/text-to-image
Commit Name: bd97dee4fc635d8aa8707c4fbac39e569e9f148d
Time: 2017-01-18
Author: i.mochaz@gmail.com
File Name: tensorlayer/files.py
Class Name:
Method Name: load_wmt_en_fr_dataset