fdeeaff5e452e257bf3a3dd76e25c81304cc4c98,mmdnn/conversion/examples/tensorflow/vis_meta.py,,_main,#,14

Before Change


    if len(sys.argv) != 3:
        raise ValueError("Usage: python vis_meta.py /path/to/model.meta /path/to/log/directory")
    // load file
    visualize(sys.argv[1], sys.argv[2])
    os.system("tensorboard --logdir=" + sys.argv[2])

After Change



    if not os.path.isfile(args.ckpt):
        print("The checkpoint meta file does not exist.")
        exit(1)

    if not os.path.isdir(args.logdir):
        print("The log directory does not exist.")
        exit(1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: Microsoft/MMdnn
Commit Name: fdeeaff5e452e257bf3a3dd76e25c81304cc4c98
Time: 2020-03-15
Author: linmajia@users.noreply.github.com
File Name: mmdnn/conversion/examples/tensorflow/vis_meta.py
Class Name:
Method Name: _main


Project Name: akkana/scripts
Commit Name: b875155f35702c6f849a0c656078ca64182277a8
Time: 2018-04-27
Author: akkana@shallowsky.com
File Name: analemma.py
Class Name:
Method Name:


Project Name: akkana/scripts
Commit Name: cb38a31627f152c22fb9e474c31b34da588e1134
Time: 2020-07-26
Author: akkana@shallowsky.com
File Name: starstack.py
Class Name:
Method Name: