f21d001eb7f15fbd466930752bd1929d70cefc97,parlai/scripts/verify_data.py,,verify,#Any#,58
Before Change
except Exception:
pass
return report(world, counts, log_time)
def verify_data(opt, parser):
report_text, report_log = verify(parser.parse_args())
After Change
except AttributeError:
pass
counts["exs"] = int(world.report()["exs"])
return counts
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: facebookresearch/ParlAI
Commit Name: f21d001eb7f15fbd466930752bd1929d70cefc97
Time: 2020-09-04
Author: roller@fb.com
File Name: parlai/scripts/verify_data.py
Class Name:
Method Name: verify
Project Name: facebookresearch/ParlAI
Commit Name: 3081375ea5f5e275782f1167814ffbc4f8bf879a
Time: 2017-06-28
Author: ahm@fb.com
File Name: examples/train_model.py
Class Name:
Method Name: run_eval
Project Name: tensorflow/minigo
Commit Name: 0c4b0865f627a37c90b4725e798ec70ca9617b3f
Time: 2018-02-12
Author: jacksona@google.com
File Name: dual_net.py
Class Name: DualNetworkTrainer
Method Name: validate