e1cbb7da6c8bec72f1e5225521630153fd0957c4,berrynet/service/darknet_service.py,,main,#,94
Before Change
engine = DarknetEngine(
config=b"/usr/share/dlmodels/tinyyolovoc-20170816/tiny-yolo-voc.cfg",
model=b"/usr/share/dlmodels/tinyyolovoc-20170816/tiny-yolo-voc.weights",
meta=b"/usr/share/dlmodels/tinyyolovoc-20170816/voc.data"
)
comm_config = {
After Change
engine = DarknetEngine(
config=meta["config"]["config"].encode("utf-8"),
model=args["model"].encode("utf-8"),
meta=meta["config"]["meta"].encode("utf-8")
)
comm_config = {
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: DT42/BerryNet
Commit Name: e1cbb7da6c8bec72f1e5225521630153fd0957c4
Time: 2019-07-13
Author: bofu@dt42.io
File Name: berrynet/service/darknet_service.py
Class Name:
Method Name: main
Project Name: hanxiao/bert-as-service
Commit Name: 208146e25347b8fe3fe57cd813b5e3880bbe4f9a
Time: 2019-01-16
Author: hanhxiao@tencent.com
File Name: server/bert_serving/server/helper.py
Class Name: BertRequestHandler
Method Name: do_POST
Project Name: hanxiao/bert-as-service
Commit Name: 28e1d68bda9ef951307a96fc95149a3da793f5d1
Time: 2018-11-25
Author: hanhxiao@tencent.com
File Name: service/server.py
Class Name: BertServer
Method Name: run