8e098ed186cf0c62dd01e1a02fd63b7d00443d89,core_models/intent_extraction/train_joint_model.py,,,#,31
Before Change
exit()
if args.restore is not None and not os.path.exists(args.restore):
print("restore model file was not found")
exit()
// load dataset
dataset = SNIPS(sentence_length=args.sentence_length,
embedding_model=args.embedding_path,
After Change
if args.embedding_path is not None and not os.path.exists(args.embedding_path):
print("word embedding model file was not found")
sys.exit(0)
if not os.path.exists(args.dataset_path):
print("dataset_path does not exist")
sys.exit(0)
if args.restore is not None and not os.path.exists(args.restore):
print("restore model file was not found")
sys.exit(0)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: NervanaSystems/nlp-architect
Commit Name: 8e098ed186cf0c62dd01e1a02fd63b7d00443d89
Time: 2018-05-09
Author: peter.izsak@intel.com
File Name: core_models/intent_extraction/train_joint_model.py
Class Name:
Method Name:
Project Name: keras-team/keras
Commit Name: da24be79ab5d06e7be16d9eb0a35f47b7b91939b
Time: 2015-08-31
Author: amit.beka@gmail.com
File Name: tests/manual/check_callbacks.py
Class Name:
Method Name:
Project Name: NervanaSystems/nlp-architect
Commit Name: 650a9bb35b4b0796ee90c5ac0b498af54c32c2e3
Time: 2018-05-08
Author: peteriz@users.noreply.github.com
File Name: core_models/intent_extraction/interactive.py
Class Name:
Method Name: