xb
xb
I don't catch your meaning. Could you explain more clearly?
Indeed, the function yolo.ImageDetector can't return anything, and it just generates a file on the disk.
I will do some workaround for more convenient to use.
You can specify the different output name in a loop. ``` yolo.ImageDetector( "./cfg/coco.data", // datacfg "./cfg/yolo.cfg", // cfgfile "./yolo.weights", // weightfile "./data/dog.jpg", // image that you want recognize 0.24, //...
Yes, You need to initiate the network every time.
I think this feature is not necessary.As both of the range [0,50] and the integer 50 equivalent to xrange(0,50).
I mean that the RangeHash({'redis://1.1.1.1:6379': [0, 100]}) could be instead with the ConsistentHash('redis://1.1.1.1:6379': 100}.Refer to the ‘def _node_keys(self, node)’ routine, they are same.
Because the hashing is independent of hostname, so after connection_hasher.add_nodes({'redis://2.2.2.2:6379': [0, 50]}), the range [0, 50] will hit 2.2.2.2, it will cause mishit the range [0, 50] of the original...
那是用来产生Debug断点的,删除那两行就行了。