ee0d111d02961a89679e9128b46b40c1df98efb6,parlai/scripts/eval_model.py,,eval_model,#Any#Any#Any#,33
Before Change
if opt["display_examples"]:
print(world.display() + "\n~~")
if log_time.time() > log_every_n_secs:
tot_time += log_time.time()
print(str(int(tot_time)) + "s elapsed: " + str(world.report()))
log_time.reset()
if opt["num_examples"] > 0 and cnt >= opt["num_examples"]:
break
if world.epoch_done():
After Change
print(world.display() + "\n~~")
if log_time.time() > log_every_n_secs:
report = world.report()
text, report = log_time.log(report["total"], world.num_examples(), report)
print(text)
if opt["num_examples"] > 0 and cnt >= opt["num_examples"]:
break
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: facebookresearch/ParlAI
Commit Name: ee0d111d02961a89679e9128b46b40c1df98efb6
Time: 2018-06-14
Author: jaseweston@gmail.com
File Name: parlai/scripts/eval_model.py
Class Name:
Method Name: eval_model
Project Name: tensorlayer/srgan
Commit Name: 87ad8f5eb43629954755893fcb2674e53f8dc982
Time: 2019-05-08
Author: dhsig552@163.com
File Name: main.py
Class Name:
Method Name: evaluate
Project Name: PIQuIL/QuCumber
Commit Name: f91dcf86dac8282e3b0144f65d44821fbbb248f2
Time: 2018-07-27
Author: gtorlai@uwaterloo.ca
File Name: qucumber/quantum_reconstruction.py
Class Name: QuantumReconstruction
Method Name: fit