18f9aae4939d79bb3698bb94f46d33c08396daf4,berrynet/engine/tflite_engine.py,,main,#,225

Before Change


                     top_k = args.number_top,
                     num_threads = args.number_threads)
        import sys
        sys.exit(0)
    elif args.engine == "detector":
        engine = TFLiteDetectorEngine(
                     model = args.model,
                     labels = args.labels)

After Change


                r["bottom"]
            ))
    else:
        raise Exception("Can not get result "
                        "from illegal engine {}".format(args.engine))


if __name__ == "__main__":
    main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: DT42/BerryNet
Commit Name: 18f9aae4939d79bb3698bb94f46d33c08396daf4
Time: 2019-06-15
Author: bofu@dt42.io
File Name: berrynet/engine/tflite_engine.py
Class Name:
Method Name: main


Project Name: keras-team/keras
Commit Name: da24be79ab5d06e7be16d9eb0a35f47b7b91939b
Time: 2015-08-31
Author: amit.beka@gmail.com
File Name: tests/manual/check_callbacks.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: 6f590fc84623e4af42b092eb863517b6193ec2ed
Time: 2018-03-22
Author: dhsig552@163.com
File Name: example/tutorial_inceptionV3_tfslim.py
Class Name:
Method Name: