06bb64cd6f06413528f5c634da7517350541adeb,examples/extract_image_feature.py,,main,#,24
Before Change
for k in range(int(opt["num_examples"])):
world.parley()
print(world.display() + "\n~~")
if world.epoch_done():
print("EPOCH DONE")
break
if __name__ == "__main__":
main()
After Change
print("Beginning image extraction...")
exs_seen = 0
total_exs = world.num_examples()
while not world.epoch_done():
world.parley()
exs_seen += bsz
logger.log(exs_seen, total_exs)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: facebookresearch/ParlAI
Commit Name: 06bb64cd6f06413528f5c634da7517350541adeb
Time: 2018-02-05
Author: kshuster@fb.com
File Name: examples/extract_image_feature.py
Class Name:
Method Name: main
Project Name: facebookresearch/ParlAI
Commit Name: 1f1822153e2f32a107a21bae414d0b012ea15608
Time: 2020-04-29
Author: roller@fb.com
File Name: parlai/scripts/interactive.py
Class Name:
Method Name: interactive
Project Name: facebookresearch/ParlAI
Commit Name: 42bd4e4144989a97557c0d496016e96e2f865512
Time: 2017-11-22
Author: kshuster@fb.com
File Name: examples/train_model.py
Class Name:
Method Name: main