7122b7a61e11ee041548dcf2d9ef40dc4e7c5e01,ipfs_grid_worker_daemon.py,,,#,14

Before Change


gridWorker = Worker()
gridWorker.work()

print("grid id: {}".format(gridWorker.id))

After Change



// print(title)

parser = argparse.ArgumentParser(description=program_desc)

parser.add_argument("--compute", dest="compute", action="store_const",
                   const=True, default=True,
                   help="Run grid in compute mode")

parser.add_argument("--tree", dest="tree", action="store_const",
                   const=True, default=False,
                   help="Run grid in tree mode")

parser.add_argument("--anchor", dest="anchor", action="store_const",
                   const=True, default=False,
                   help="Run grid in anchor mode")

args = parser.parse_args()


TODO: modify Client to store the source code for the model in IPFS.
      (think through logistics; introduces
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: OpenMined/Grid
Commit Name: 7122b7a61e11ee041548dcf2d9ef40dc4e7c5e01
Time: 2018-02-25
Author: liamtrask@gmail.com
File Name: ipfs_grid_worker_daemon.py
Class Name:
Method Name:


Project Name: PaddlePaddle/edl
Commit Name: 00c717a1276ceb5570f7c77a7b58a07c19bfc56d
Time: 2020-06-02
Author: wangxi16@baidu.com
File Name: python/paddle_edl/distill/redis/server_register.py
Class Name:
Method Name:


Project Name: baldassarreFe/deep-koalarization
Commit Name: c9fb02940b16716901d0a2eef95abab827c25896
Time: 2020-05-15
Author: baldassarre.fe@gmail.com
File Name: src/koalarization/evaluate.py
Class Name:
Method Name: