animeic 2 năm trước cách đây
mục cha
commit
db2d045ac8

BIN
src/__pycache__/config.cpython-310.pyc


BIN
src/__pycache__/encode.cpython-310.pyc


BIN
src/__pycache__/logs.cpython-310.pyc


BIN
src/__pycache__/milvus_helpers.cpython-310.pyc


BIN
src/__pycache__/operators.cpython-310.pyc


+ 958 - 0
src/logs/milvus-2023-03-03.log

@@ -0,0 +1,958 @@
+2023-03-03 15:22:05,386 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 15:22:09,863 | ERROR | milvus_helpers.py | __init__ | 24 | Failed to connect Milvus: <MilvusException: (code=2, message=Fail connecting to server on 103.143.81.176:19530. Timeout)>
+2023-03-03 15:22:18,899 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 15:22:23,166 | ERROR | milvus_helpers.py | __init__ | 24 | Failed to connect Milvus: <MilvusException: (code=2, message=Fail connecting to server on 103.143.81.176:19530. Timeout)>
+2023-03-03 15:22:30,211 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 15:22:34,320 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 15:22:34,321 | INFO | main.py | <module> | 33 | mkdir the path:tmp/images
+2023-03-03 15:22:34,341 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 15:24:21,993 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:24:21,993 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:24:21,993 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:24:21,993 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:24:21,993 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:24:21,993 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:24:21,994 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:24:21,994 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:24:21,994 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[167:65703]
+2023-03-03 15:24:21,995 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65511]
+2023-03-03 15:24:21,995 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 15:24:21,996 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65512:65536]
+2023-03-03 15:24:21,996 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:59150]
+2023-03-03 15:24:21,996 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:24:21,996 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:24:27,526 | DEBUG | milvus_helpers.py | insert | 74 | Insert vectors to Milvus in collection: product with 1 rows
+2023-03-03 15:24:27,526 | INFO | main.py | upload_images | 91 | Successfully uploaded data, vector id: ['001']
+2023-03-03 15:25:26,697 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:25:26,697 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:25:26,698 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:25:26,698 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:25:26,698 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:25:26,698 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:25:26,698 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:25:26,698 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:25:26,699 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 15:25:26,699 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:32768]
+2023-03-03 15:25:26,700 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:32768]
+2023-03-03 15:25:26,700 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:59150]
+2023-03-03 15:25:26,701 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:25:26,701 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:25:34,554 | ERROR | decorators.py | handler | 108 | RPC error: [search], <MilvusException: (code=1, message=Field hash not exist)>, <Time:{'RPC start': '2023-03-03 15:25:33.763041', 'RPC error': '2023-03-03 15:25:34.554574'}>
+2023-03-03 15:25:34,555 | ERROR | milvus_helpers.py | search_vectors | 118 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=Field hash not exist)>
+2023-03-03 15:28:33,394 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 15:28:36,972 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 15:28:36,993 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 15:30:45,187 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:30:45,187 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:30:45,187 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:30:45,187 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:30:45,187 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:30:45,187 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:30:45,187 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:30:45,187 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:30:45,187 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 15:30:45,188 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 15:30:45,188 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:30:45,188 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:30:50,523 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['id', 'path', 'embedding'], got ['', '', '', ''])>
+2023-03-03 15:31:36,026 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:31:36,027 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:31:36,027 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:31:36,027 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:31:36,027 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:31:36,027 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:31:36,027 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:31:36,027 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:31:36,028 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 15:31:36,029 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 15:31:36,029 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:31:36,030 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:31:38,094 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['id', 'path', 'embedding'], got ['', '', '', ''])>
+2023-03-03 15:34:07,632 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 15:34:09,368 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 15:34:09,388 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 15:34:11,860 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:34:11,861 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:34:11,861 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:34:11,861 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:34:11,861 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:34:11,861 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:34:11,861 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:34:11,861 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:34:11,862 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 15:34:11,863 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 15:34:11,864 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:34:11,864 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:34:14,986 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['id', 'path', 'embedding'], got ['', '', '', ''])>
+2023-03-03 15:35:56,213 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 15:35:57,927 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 15:35:57,947 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 15:36:02,191 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:36:02,192 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:36:02,192 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:36:02,192 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:36:02,193 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:36:02,193 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:36:02,193 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:36:02,193 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:36:02,194 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 15:36:02,195 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 15:36:02,195 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:36:02,195 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:36:07,225 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['id', 'path', 'embedding'], got ['', '', '', ''])>
+2023-03-03 15:39:59,350 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 15:40:01,111 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 15:40:01,131 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 15:40:04,129 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:40:04,130 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:40:04,130 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:40:04,130 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:40:04,130 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:40:04,130 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:40:04,130 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:40:04,130 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:40:04,131 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 15:40:04,132 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 15:40:04,132 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:40:04,132 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:40:11,079 | ERROR | milvus_helpers.py | insert | 77 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['id', 'path', 'embedding'], got ['', '', '', ''])>
+2023-03-03 15:42:08,090 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 15:42:09,860 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 15:42:09,879 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 15:42:11,914 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:42:11,914 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:42:11,914 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:42:11,914 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:42:11,914 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:42:11,914 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:42:11,914 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:42:11,914 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:42:11,915 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 15:42:11,915 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 15:42:11,916 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:42:11,916 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:42:18,615 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['id', 'path', 'embedding'], got ['', '', '', ''])>
+2023-03-03 15:43:56,170 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:43:56,170 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:43:56,170 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:43:56,170 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:43:56,171 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:43:56,171 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:43:56,171 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:43:56,171 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:43:56,171 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 15:43:56,172 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 15:43:56,172 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:43:56,172 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:44:07,513 | DEBUG | milvus_helpers.py | create_index | 88 | Successfully create index in collection:product1 with param:{'index_type': 'IVF_SQ8', 'metric_type': 'L2', 'params': {'nlist': 16384}}
+2023-03-03 15:44:07,513 | DEBUG | milvus_helpers.py | create_collection | 57 | Create Milvus collection: product1
+2023-03-03 15:44:13,565 | DEBUG | milvus_helpers.py | insert | 74 | Insert vectors to Milvus in collection: product1 with 1 rows
+2023-03-03 15:44:13,566 | INFO | main.py | upload_images | 91 | Successfully uploaded data, vector id: ['00b']
+2023-03-03 15:44:39,217 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:44:39,217 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:44:39,218 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:44:39,218 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:44:39,218 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:44:39,218 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:44:39,218 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:44:39,218 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:44:39,218 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:62629]
+2023-03-03 15:44:39,218 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 15:44:39,218 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[62630:65536]
+2023-03-03 15:44:39,219 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 15:44:39,219 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:44:39,219 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:44:43,756 | ERROR | decorators.py | handler | 108 | RPC error: [search], <MilvusException: (code=1, message=Field hash not exist)>, <Time:{'RPC start': '2023-03-03 15:44:42.387441', 'RPC error': '2023-03-03 15:44:43.756464'}>
+2023-03-03 15:44:43,757 | ERROR | milvus_helpers.py | search_vectors | 118 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=Field hash not exist)>
+2023-03-03 15:44:56,421 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:44:56,421 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:44:56,422 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:44:56,422 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:44:56,422 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:44:56,422 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:44:56,422 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:44:56,422 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:44:56,423 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 15:44:56,424 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 15:44:56,424 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:44:56,424 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:45:02,766 | DEBUG | milvus_helpers.py | search_vectors | 115 | Successfully search in collection: ["['(distance: 0.0, id: 00b)']"]
+2023-03-03 15:45:02,766 | INFO | main.py | search_images | 110 | Successfully searched similar images!
+2023-03-03 15:58:48,972 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 15:58:50,734 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 15:58:50,754 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 15:59:00,666 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 15:59:00,666 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 15:59:00,666 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 15:59:00,666 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:59:00,666 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 15:59:00,666 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 15:59:00,666 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 15:59:00,666 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 15:59:00,667 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 15:59:00,669 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 15:59:00,669 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 15:59:00,669 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 15:59:02,294 | ERROR | milvus_helpers.py | search_vectors | 127 | Failed to search vectors in Milvus: Collection.search() missing 1 required positional argument: 'param'
+2023-03-03 16:02:22,759 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:02:24,505 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:02:24,524 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:02:28,170 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:02:28,170 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:02:28,170 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:02:28,171 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:02:28,171 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:02:28,171 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:02:28,171 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:02:28,171 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:02:28,171 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:02:28,172 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:123001]
+2023-03-03 16:02:28,172 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:02:28,172 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[123002:124686]
+2023-03-03 16:02:28,172 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:02:28,173 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:02:29,819 | ERROR | milvus_helpers.py | search_vectors | 129 | Failed to search vectors in Milvus: Collection.search() missing 1 required positional argument: 'limit'
+2023-03-03 16:03:15,221 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:03:17,522 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:03:17,555 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:03:20,044 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:03:20,044 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:03:20,045 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:03:20,045 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:03:20,045 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:03:20,045 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:03:20,045 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:03:20,045 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:03:20,046 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:03:20,047 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:03:20,048 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:03:20,048 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:03:22,792 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)']"]
+2023-03-03 16:03:22,794 | INFO | main.py | search_images | 110 | Successfully searched similar images!
+2023-03-03 16:04:30,620 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:04:32,380 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:04:32,387 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:04:33,853 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:04:33,853 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:04:33,854 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:04:33,854 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:04:33,854 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:04:33,854 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:04:33,855 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:04:33,855 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:04:33,857 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:04:33,859 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:04:33,860 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:04:33,860 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:04:36,547 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)']"]
+2023-03-03 16:04:36,547 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:07:16,157 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:07:17,913 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:07:17,932 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:07:19,870 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:07:19,871 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:07:19,871 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:07:19,871 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:07:19,871 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:07:19,871 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:07:19,871 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:07:19,871 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:07:19,871 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:07:19,872 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:07:19,872 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:07:19,872 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:07:21,815 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)']"]
+2023-03-03 16:07:21,816 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:11:39,781 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:11:41,525 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:11:41,529 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:11:45,089 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:11:45,089 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:11:45,089 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:11:45,090 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:11:45,090 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:11:45,090 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:11:45,090 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:11:45,090 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:11:45,091 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:11:45,091 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:11:45,092 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:11:45,092 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:11:47,037 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)']"]
+2023-03-03 16:11:47,037 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:12:44,668 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:12:48,886 | ERROR | milvus_helpers.py | __init__ | 24 | Failed to connect Milvus: <MilvusException: (code=2, message=Fail connecting to server on 103.143.81.176:19530. Timeout)>
+2023-03-03 16:12:55,704 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:12:57,502 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:12:57,521 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:13:01,503 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:13:01,504 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:13:01,504 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:13:01,504 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:13:01,505 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:13:01,505 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:13:01,505 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:13:01,505 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:13:01,507 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:13:01,510 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:13:01,510 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:13:01,510 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:13:03,553 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)']"]
+2023-03-03 16:13:03,554 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:14:04,766 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:14:04,766 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:14:04,766 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:142]
+2023-03-03 16:14:04,766 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:14:04,766 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[144:156]
+2023-03-03 16:14:04,766 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[158:168]
+2023-03-03 16:14:04,766 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:14:04,766 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:14:04,767 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65532]
+2023-03-03 16:14:04,767 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:14:04,767 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65533:65536]
+2023-03-03 16:14:04,768 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:88763]
+2023-03-03 16:14:04,768 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:14:04,768 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:14:08,063 | DEBUG | milvus_helpers.py | insert | 74 | Insert vectors to Milvus in collection: product1 with 1 rows
+2023-03-03 16:14:08,063 | INFO | main.py | upload_images | 91 | Successfully uploaded data, vector id: ['00c']
+2023-03-03 16:14:15,595 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:14:15,596 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:14:15,596 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:14:15,596 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:14:15,596 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:14:15,596 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:14:15,596 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:14:15,596 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:14:15,597 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:14:15,598 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:14:15,599 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:14:15,599 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:14:17,020 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)', '(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 16:14:17,021 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:16:43,750 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:16:45,527 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:16:45,547 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:16:49,060 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:16:49,061 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:16:49,061 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:16:49,061 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:16:49,061 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:16:49,061 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:16:49,062 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:16:49,062 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:16:49,063 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:16:49,064 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:16:49,065 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:16:49,065 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:16:51,088 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)', '(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 16:16:51,089 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:18:00,592 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:18:02,299 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:18:02,319 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:18:16,180 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:18:16,180 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:18:16,181 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:18:16,181 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:18:16,181 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:18:16,181 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:18:16,181 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:18:16,181 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:18:16,182 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:18:16,183 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:18:16,183 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:18:16,183 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:18:18,179 | ERROR | decorators.py | handler | 108 | RPC error: [search], <ParamError: (code=1, message=`output_fields` value [['hash'], ['id']] is illegal)>, <Time:{'RPC start': '2023-03-03 16:18:18.179148', 'RPC error': '2023-03-03 16:18:18.179306'}>
+2023-03-03 16:18:18,179 | ERROR | milvus_helpers.py | search_vectors | 129 | Failed to search vectors in Milvus: <ParamError: (code=1, message=`output_fields` value [['hash'], ['id']] is illegal)>
+2023-03-03 16:18:54,590 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:18:56,742 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:18:56,763 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:18:59,430 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:18:59,431 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:18:59,431 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:18:59,431 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:18:59,431 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:18:59,431 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:18:59,431 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:18:59,431 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:18:59,432 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:18:59,434 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:18:59,434 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:18:59,434 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:19:01,643 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)', '(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 16:19:01,644 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:21:01,058 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:21:02,790 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:21:02,810 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:21:16,804 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:21:16,804 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:21:16,804 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:21:16,805 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:21:16,805 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:21:16,805 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:21:16,805 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:21:16,805 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:21:16,806 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:21:16,807 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:21:16,807 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:21:16,807 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:21:18,744 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)', '(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 16:21:18,746 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:22:41,352 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:22:44,087 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:22:44,093 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:22:48,175 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:22:48,176 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:22:48,176 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:22:48,176 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:22:48,176 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:22:48,176 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:22:48,176 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:22:48,176 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:22:48,177 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:22:48,178 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:22:48,179 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:22:48,179 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:22:50,575 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)', '(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 16:22:50,575 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:23:36,469 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:23:39,326 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:23:39,333 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:23:41,184 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:23:41,184 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:23:41,184 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:23:41,184 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:23:41,184 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:23:41,184 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:23:41,184 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:23:41,184 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:23:41,184 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[167:65703]
+2023-03-03 16:23:41,185 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:23:41,185 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:23:41,185 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:23:43,143 | DEBUG | milvus_helpers.py | search_vectors | 126 | Successfully search in collection: ["['(distance: 0.0, id: 00b)', '(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 16:23:43,144 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:27:08,315 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:27:10,052 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:27:10,072 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:27:12,452 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:27:12,452 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:27:12,452 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:27:12,452 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:27:12,453 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:27:12,453 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:27:12,453 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:27:12,453 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:27:12,453 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:27:12,454 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:27:12,454 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:27:12,454 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:27:14,052 | ERROR | milvus_helpers.py | search_vectors | 130 | Failed to search vectors in Milvus: <DataTypeNotMatchException: (code=1, message=The type of expr must be string ,but <class 'NoneType'> is given.)>
+2023-03-03 16:29:27,673 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:29:29,425 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:29:29,430 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:29:33,663 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:29:33,664 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:29:33,664 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:29:33,664 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:29:33,664 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:29:33,664 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:29:33,664 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:29:33,664 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:29:33,665 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:29:33,666 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:29:33,666 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:29:33,666 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:29:35,666 | ERROR | decorators.py | handler | 108 | RPC error: [query], <MilvusException: (code=1, message=cannot parse expression: hash > 0, error: comparisons between string and non-string are not supported)>, <Time:{'RPC start': '2023-03-03 16:29:35.279180', 'RPC error': '2023-03-03 16:29:35.665934'}>
+2023-03-03 16:29:35,667 | ERROR | milvus_helpers.py | search_vectors | 130 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=cannot parse expression: hash > 0, error: comparisons between string and non-string are not supported)>
+2023-03-03 16:30:38,073 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:30:39,807 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:30:39,826 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:30:45,539 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:30:45,539 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:30:45,539 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:30:45,539 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:30:45,539 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:30:45,539 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:30:45,540 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:30:45,540 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:30:45,541 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:30:45,542 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:30:45,542 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:30:45,542 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:30:47,564 | ERROR | decorators.py | handler | 108 | RPC error: [query], <MilvusException: (code=1, message=cannot parse expression: len(hash) > 0, error: failed to get field schema by name: fieldName(len) not found)>, <Time:{'RPC start': '2023-03-03 16:30:47.185927', 'RPC error': '2023-03-03 16:30:47.564475'}>
+2023-03-03 16:30:47,565 | ERROR | milvus_helpers.py | search_vectors | 130 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=cannot parse expression: len(hash) > 0, error: failed to get field schema by name: fieldName(len) not found)>
+2023-03-03 16:33:03,964 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:33:05,729 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:33:05,749 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:33:07,452 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:33:07,452 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:33:07,453 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:33:07,453 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:33:07,453 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:33:07,453 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:33:07,454 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:33:07,454 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:33:07,455 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[167:65649]
+2023-03-03 16:33:07,458 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124740]
+2023-03-03 16:33:07,458 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:33:07,458 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:33:10,136 | ERROR | decorators.py | handler | 108 | RPC error: [query], <MilvusException: (code=1, message=fail to query on all shard leaders, err=fail to Query, QueryNode ID = 17, reason=stream operation failed: [UnexpectedError] Assert "unsupported expr proto node" at /go/src/github.com/milvus-io/milvus/internal/core/src/query/PlanProto.cpp:440
+)>, <Time:{'RPC start': '2023-03-03 16:33:09.740524', 'RPC error': '2023-03-03 16:33:10.136744'}>
+2023-03-03 16:33:10,137 | ERROR | milvus_helpers.py | search_vectors | 130 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=fail to query on all shard leaders, err=fail to Query, QueryNode ID = 17, reason=stream operation failed: [UnexpectedError] Assert "unsupported expr proto node" at /go/src/github.com/milvus-io/milvus/internal/core/src/query/PlanProto.cpp:440
+)>
+2023-03-03 16:34:02,936 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:34:04,686 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:34:04,706 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:34:07,174 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:34:07,175 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:34:07,175 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:34:07,175 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:34:07,175 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:34:07,175 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:34:07,175 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:34:07,175 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:34:07,176 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:34:07,177 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:34:07,177 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:34:07,177 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:34:09,725 | ERROR | decorators.py | handler | 108 | RPC error: [query], <MilvusException: (code=1, message=fail to query on all shard leaders, err=fail to Query, QueryNode ID = 17, reason=stream operation failed: [UnexpectedError] Assert "unsupported expr proto node" at /go/src/github.com/milvus-io/milvus/internal/core/src/query/PlanProto.cpp:440
+)>, <Time:{'RPC start': '2023-03-03 16:34:08.812465', 'RPC error': '2023-03-03 16:34:09.725807'}>
+2023-03-03 16:34:09,726 | ERROR | milvus_helpers.py | search_vectors | 130 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=fail to query on all shard leaders, err=fail to Query, QueryNode ID = 17, reason=stream operation failed: [UnexpectedError] Assert "unsupported expr proto node" at /go/src/github.com/milvus-io/milvus/internal/core/src/query/PlanProto.cpp:440
+)>
+2023-03-03 16:36:55,800 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:36:57,583 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:36:57,599 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:37:00,040 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:37:00,040 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:37:00,040 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:37:00,041 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:37:00,041 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:37:00,041 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:37:00,041 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:37:00,041 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:37:00,042 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:37:00,043 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:37:00,043 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:37:00,043 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:37:02,225 | ERROR | decorators.py | handler | 108 | RPC error: [query], <MilvusException: (code=1, message=cannot parse expression: hash in ['00a','00b','00c'], error: line 1:25 token recognition error at: ''')>, <Time:{'RPC start': '2023-03-03 16:37:01.870074', 'RPC error': '2023-03-03 16:37:02.225208'}>
+2023-03-03 16:37:02,225 | ERROR | milvus_helpers.py | search_vectors | 130 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=cannot parse expression: hash in ['00a','00b','00c'], error: line 1:25 token recognition error at: ''')>
+2023-03-03 16:37:46,665 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:37:48,401 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:37:48,420 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:37:50,453 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:37:50,453 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:37:50,453 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:37:50,453 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:37:50,453 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:37:50,453 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:37:50,454 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:37:50,454 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:37:50,455 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:37:50,456 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:37:50,456 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:37:50,456 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:37:52,423 | ERROR | decorators.py | handler | 108 | RPC error: [query], <MilvusException: (code=1, message=cannot parse expression: hash in [00a,00b,00c], error: line 1:19 extraneous input 'c' expecting {',', ']'})>, <Time:{'RPC start': '2023-03-03 16:37:52.067662', 'RPC error': '2023-03-03 16:37:52.423724'}>
+2023-03-03 16:37:52,424 | ERROR | milvus_helpers.py | search_vectors | 130 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=cannot parse expression: hash in [00a,00b,00c], error: line 1:19 extraneous input 'c' expecting {',', ']'})>
+2023-03-03 16:38:29,861 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:38:31,640 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:38:31,669 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:38:31,937 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:38:31,937 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:38:31,937 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:38:31,937 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:38:31,938 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:38:31,938 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:38:31,938 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:38:31,938 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:38:31,952 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:32741]
+2023-03-03 16:38:31,954 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:32795]
+2023-03-03 16:38:31,956 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65511]
+2023-03-03 16:38:31,957 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:38:31,957 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65512:65536]
+2023-03-03 16:38:31,962 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:59150]
+2023-03-03 16:38:31,969 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:38:31,970 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:38:34,334 | ERROR | decorators.py | handler | 108 | RPC error: [query], <MilvusException: (code=1, message=cannot parse expression: hash in [1,2,3], error: value '1' in list cannot be casted to VarChar)>, <Time:{'RPC start': '2023-03-03 16:38:33.959083', 'RPC error': '2023-03-03 16:38:34.334333'}>
+2023-03-03 16:38:34,335 | ERROR | milvus_helpers.py | search_vectors | 130 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=cannot parse expression: hash in [1,2,3], error: value '1' in list cannot be casted to VarChar)>
+2023-03-03 16:39:04,160 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:39:05,916 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:39:05,931 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:39:08,633 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:39:08,633 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:39:08,633 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:39:08,633 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:39:08,634 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:39:08,634 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:39:08,634 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:39:08,634 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:39:08,634 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:39:08,635 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:61006]
+2023-03-03 16:39:08,635 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:39:08,635 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[61007:124686]
+2023-03-03 16:39:08,635 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:39:08,635 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:39:10,696 | ERROR | decorators.py | handler | 108 | RPC error: [query], <MilvusException: (code=1, message=cannot parse expression: hash in [a,b,c], error: failed to get field schema by name: fieldName(a) not found)>, <Time:{'RPC start': '2023-03-03 16:39:10.311251', 'RPC error': '2023-03-03 16:39:10.696315'}>
+2023-03-03 16:39:10,697 | ERROR | milvus_helpers.py | search_vectors | 130 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=cannot parse expression: hash in [a,b,c], error: failed to get field schema by name: fieldName(a) not found)>
+2023-03-03 16:42:43,179 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:42:45,022 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:42:45,042 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:42:54,294 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:42:54,294 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:42:54,295 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:142]
+2023-03-03 16:42:54,295 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:42:54,295 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[144:156]
+2023-03-03 16:42:54,295 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[158:168]
+2023-03-03 16:42:54,295 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:42:54,295 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:42:54,295 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65532]
+2023-03-03 16:42:54,296 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:42:54,296 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65533:65536]
+2023-03-03 16:42:54,296 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:88763]
+2023-03-03 16:42:54,296 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:42:54,296 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:42:58,034 | DEBUG | milvus_helpers.py | create_index | 88 | Successfully create index in collection:product2 with param:{'index_type': 'IVF_SQ8', 'metric_type': 'L2', 'params': {'nlist': 16384}}
+2023-03-03 16:42:58,034 | DEBUG | milvus_helpers.py | create_collection | 57 | Create Milvus collection: product2
+2023-03-03 16:42:59,691 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['im_hash', 'asset_id', 'embedding'], got ['', '', '', ''])>
+2023-03-03 16:43:41,662 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:43:41,662 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:43:41,662 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:142]
+2023-03-03 16:43:41,662 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:43:41,662 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[144:156]
+2023-03-03 16:43:41,662 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[158:168]
+2023-03-03 16:43:41,662 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:43:41,662 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:43:41,663 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65532]
+2023-03-03 16:43:41,663 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:43:41,663 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65533:65536]
+2023-03-03 16:43:41,664 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:88763]
+2023-03-03 16:43:41,664 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:43:41,664 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:43:46,338 | DEBUG | milvus_helpers.py | create_index | 88 | Successfully create index in collection:product3 with param:{'index_type': 'IVF_SQ8', 'metric_type': 'L2', 'params': {'nlist': 16384}}
+2023-03-03 16:43:46,339 | DEBUG | milvus_helpers.py | create_collection | 57 | Create Milvus collection: product3
+2023-03-03 16:43:47,137 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['im_hash', 'asset_id', 'embedding'], got ['', '', '', ''])>
+2023-03-03 16:45:50,144 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:45:51,880 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:45:51,901 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:45:55,765 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:45:55,765 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:45:55,765 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:142]
+2023-03-03 16:45:55,765 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:45:55,765 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[144:156]
+2023-03-03 16:45:55,765 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[158:168]
+2023-03-03 16:45:55,765 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:45:55,765 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:45:55,766 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65532]
+2023-03-03 16:45:55,766 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:45:55,766 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65533:65536]
+2023-03-03 16:45:55,767 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:88763]
+2023-03-03 16:45:55,767 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:45:55,767 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:46:00,770 | DEBUG | milvus_helpers.py | insert | 74 | Insert vectors to Milvus in collection: product3 with 1 rows
+2023-03-03 16:46:00,770 | INFO | main.py | upload_images | 91 | Successfully uploaded data, vector id: ['00c']
+2023-03-03 16:46:15,090 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:46:15,091 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:46:15,091 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:46:15,091 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:46:15,091 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:46:15,091 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:46:15,091 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:46:15,091 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:46:15,092 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:62629]
+2023-03-03 16:46:15,092 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:46:15,092 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[62630:65536]
+2023-03-03 16:46:15,093 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:46:15,093 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:46:15,093 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:46:49,983 | DEBUG | milvus_helpers.py | search_vectors | 127 | Successfully search in collection: ["['(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 16:46:49,984 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:48:47,258 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:48:49,026 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:48:49,046 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:48:53,829 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:48:53,829 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:48:53,829 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:48:53,829 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:48:53,829 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:48:53,829 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:48:53,830 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:48:53,830 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:48:53,830 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[167:32908]
+2023-03-03 16:48:53,831 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:33674]
+2023-03-03 16:48:53,831 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:48:53,832 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[33675:65536]
+2023-03-03 16:48:53,833 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65467]
+2023-03-03 16:48:53,833 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:48:53,833 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65468:65482]
+2023-03-03 16:48:53,834 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:26463]
+2023-03-03 16:48:53,834 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:48:53,834 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:49:02,477 | ERROR | decorators.py | handler | 108 | RPC error: [search], <MilvusException: (code=1, message=search doesn't support vector field as output_fields)>, <Time:{'RPC start': '2023-03-03 16:48:57.287418', 'RPC error': '2023-03-03 16:49:02.477590'}>
+2023-03-03 16:49:02,478 | ERROR | milvus_helpers.py | search_vectors | 130 | Failed to search vectors in Milvus: <MilvusException: (code=1, message=search doesn't support vector field as output_fields)>
+2023-03-03 16:51:45,100 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:51:46,856 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:51:46,876 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:51:56,446 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:51:56,447 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:51:56,447 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:142]
+2023-03-03 16:51:56,447 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:51:56,447 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[144:156]
+2023-03-03 16:51:56,447 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[158:168]
+2023-03-03 16:51:56,447 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:51:56,447 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:51:56,448 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65532]
+2023-03-03 16:51:56,448 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:51:56,448 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65533:65536]
+2023-03-03 16:51:56,449 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:88763]
+2023-03-03 16:51:56,449 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:51:56,450 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:52:00,320 | DEBUG | milvus_helpers.py | create_index | 88 | Successfully create index in collection:product4 with param:{'index_type': 'IVF_SQ8', 'metric_type': 'L2', 'params': {'nlist': 16384}}
+2023-03-03 16:52:00,320 | DEBUG | milvus_helpers.py | create_collection | 57 | Create Milvus collection: product4
+2023-03-03 16:52:04,999 | DEBUG | milvus_helpers.py | insert | 74 | Insert vectors to Milvus in collection: product4 with 1 rows
+2023-03-03 16:52:05,003 | INFO | main.py | upload_images | 91 | Successfully uploaded data, vector id: ['00c']
+2023-03-03 16:52:13,216 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:52:13,216 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:52:13,216 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:52:13,216 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:52:13,217 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:52:13,217 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:52:13,217 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:52:13,217 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:52:13,218 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:52:13,218 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:61006]
+2023-03-03 16:52:13,218 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 16:52:13,219 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[61007:124686]
+2023-03-03 16:52:13,219 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:52:13,219 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:52:14,350 | DEBUG | milvus_helpers.py | search_vectors | 127 | Successfully search in collection: ["['(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 16:52:14,351 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 16:56:07,093 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 16:56:08,921 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 16:56:08,940 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 16:56:17,199 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 16:56:17,200 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 16:56:17,200 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 16:56:17,201 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:56:17,201 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 16:56:17,202 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 16:56:17,202 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 16:56:17,203 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 16:56:17,205 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 16:56:17,209 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 16:56:17,209 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 16:56:17,210 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 16:56:38,247 | DEBUG | milvus_helpers.py | search_vectors | 127 | Successfully search in collection: ["['(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 16:56:38,248 | INFO | main.py | search_images | 111 | Successfully searched similar images!
+2023-03-03 17:16:40,705 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 17:16:42,416 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 17:16:42,436 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 17:16:47,550 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:16:47,550 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:16:47,551 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 17:16:47,551 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:16:47,551 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 17:16:47,551 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 17:16:47,551 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:16:47,552 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:16:47,553 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 17:16:47,556 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 17:16:47,557 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:16:47,557 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:16:49,543 | DEBUG | milvus_helpers.py | search_vectors | 127 | Successfully search in collection: ["['(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 17:16:49,544 | INFO | main.py | search_images | 114 | Successfully searched similar images!
+2023-03-03 17:18:21,606 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 17:18:23,408 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 17:18:23,428 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 17:18:24,166 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:18:24,166 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:18:24,166 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 17:18:24,166 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:18:24,166 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 17:18:24,166 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 17:18:24,166 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:18:24,166 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:18:24,167 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 17:18:24,168 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 17:18:24,168 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:18:24,168 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:18:26,086 | DEBUG | milvus_helpers.py | search_vectors | 127 | Successfully search in collection: ["['(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 17:18:26,088 | INFO | main.py | search_images | 114 | Successfully searched similar images!
+2023-03-03 17:20:11,381 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 17:20:13,132 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 17:20:13,153 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 17:20:27,880 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:20:27,880 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:20:27,880 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 17:20:27,880 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:20:27,880 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 17:20:27,880 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 17:20:27,881 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:20:27,881 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:20:27,881 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 17:20:27,882 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:61006]
+2023-03-03 17:20:27,882 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 17:20:27,882 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[61007:124686]
+2023-03-03 17:20:27,882 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:20:27,882 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:20:29,862 | DEBUG | milvus_helpers.py | search_vectors | 127 | Successfully search in collection: ["['(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 17:20:29,863 | INFO | main.py | search_images | 114 | Successfully searched similar images!
+2023-03-03 17:20:49,650 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 17:20:51,391 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 17:20:51,399 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 17:20:55,643 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:20:55,643 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:20:55,644 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 17:20:55,644 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:20:55,644 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 17:20:55,644 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 17:20:55,644 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:20:55,644 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:20:55,645 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 17:20:55,646 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 17:20:55,646 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:20:55,646 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:20:57,624 | DEBUG | milvus_helpers.py | search_vectors | 127 | Successfully search in collection: ["['(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 17:20:57,625 | INFO | main.py | search_images | 114 | Successfully searched similar images!
+2023-03-03 17:31:18,146 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 17:31:19,906 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 17:31:19,926 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 17:31:22,224 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:31:22,225 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:31:22,225 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 17:31:22,226 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:31:22,226 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 17:31:22,226 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 17:31:22,227 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:31:22,227 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:31:22,229 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 17:31:22,232 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 17:31:22,232 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:31:22,233 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:31:23,883 | ERROR | decorators.py | handler | 108 | RPC error: [search], <ParamError: (code=1, message=Field im_vector doesn't exist in schema)>, <Time:{'RPC start': '2023-03-03 17:31:23.883055', 'RPC error': '2023-03-03 17:31:23.883276'}>
+2023-03-03 17:31:23,883 | ERROR | milvus_helpers.py | search_vectors | 124 | Failed to search vectors in Milvus: <ParamError: (code=1, message=Field im_vector doesn't exist in schema)>
+2023-03-03 17:31:53,787 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:31:53,788 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:31:53,788 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:142]
+2023-03-03 17:31:53,788 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:31:53,788 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[144:156]
+2023-03-03 17:31:53,788 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[158:168]
+2023-03-03 17:31:53,788 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:31:53,788 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:31:53,789 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65532]
+2023-03-03 17:31:53,789 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 17:31:53,790 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65533:65536]
+2023-03-03 17:31:53,790 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:76623]
+2023-03-03 17:31:53,790 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 17:31:53,791 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[76624:88763]
+2023-03-03 17:31:53,791 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:31:53,791 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:31:57,131 | DEBUG | milvus_helpers.py | create_index | 88 | Successfully create index in collection:product5 with param:{'index_type': 'IVF_FLAT', 'metric_type': 'L2', 'params': {'nlist': 16384}}
+2023-03-03 17:31:57,131 | DEBUG | milvus_helpers.py | create_collection | 57 | Create Milvus collection: product5
+2023-03-03 17:31:57,917 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['im_hash', 'product_id', 'im_url', 'im_vector'], got ['', '', ''])>
+2023-03-03 17:32:17,843 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:32:17,844 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:32:17,844 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:142]
+2023-03-03 17:32:17,844 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:32:17,844 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[144:156]
+2023-03-03 17:32:17,844 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[158:168]
+2023-03-03 17:32:17,844 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:32:17,844 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:32:17,845 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65532]
+2023-03-03 17:32:17,846 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 17:32:17,846 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65533:65536]
+2023-03-03 17:32:17,846 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:30587]
+2023-03-03 17:32:17,846 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 17:32:17,847 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[30588:88763]
+2023-03-03 17:32:17,847 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:32:17,847 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:32:19,674 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['im_hash', 'product_id', 'im_url', 'im_vector'], got ['', '', ''])>
+2023-03-03 17:33:40,529 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 17:33:42,310 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 17:33:42,330 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 17:33:44,189 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:33:44,189 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:33:44,189 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:142]
+2023-03-03 17:33:44,189 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:33:44,189 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[144:156]
+2023-03-03 17:33:44,189 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[158:168]
+2023-03-03 17:33:44,189 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:33:44,190 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:33:44,190 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65532]
+2023-03-03 17:33:44,190 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 17:33:44,190 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65533:65536]
+2023-03-03 17:33:44,191 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:88763]
+2023-03-03 17:33:44,191 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:33:44,191 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:33:46,876 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['im_hash', 'product_id', 'im_url', 'im_vector'], got ['', '', ''])>
+2023-03-03 17:34:39,356 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 17:34:41,085 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 17:34:41,104 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 17:34:44,599 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:34:44,599 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:34:44,599 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:142]
+2023-03-03 17:34:44,599 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:34:44,599 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[144:156]
+2023-03-03 17:34:44,600 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[158:168]
+2023-03-03 17:34:44,600 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:34:44,600 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:34:44,600 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[172:65704]
+2023-03-03 17:34:44,600 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 17:34:44,600 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65705:65708]
+2023-03-03 17:34:44,601 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 17:34:44,601 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:23191]
+2023-03-03 17:34:44,601 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 17:34:44,601 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[23192:23227]
+2023-03-03 17:34:44,601 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:34:44,601 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:34:47,279 | ERROR | milvus_helpers.py | insert | 78 | Failed to load data to Milvus: <DataNotMatchException: (code=1, message=The fields don't match with schema fields, expected: ['im_hash', 'product_id', 'im_url', 'im_vector'], got ['', '', ''])>
+2023-03-03 17:37:02,128 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 17:37:03,885 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 17:37:03,905 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 17:37:12,311 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:37:12,311 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:37:12,311 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:142]
+2023-03-03 17:37:12,311 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:37:12,311 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[144:156]
+2023-03-03 17:37:12,312 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[158:168]
+2023-03-03 17:37:12,312 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:37:12,312 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:37:12,313 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65532]
+2023-03-03 17:37:12,313 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:1]
+2023-03-03 17:37:12,313 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[65533:65536]
+2023-03-03 17:37:12,314 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:88763]
+2023-03-03 17:37:12,314 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:37:12,314 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:37:15,618 | DEBUG | milvus_helpers.py | create_index | 88 | Successfully create index in collection:product6 with param:{'index_type': 'IVF_FLAT', 'metric_type': 'L2', 'params': {'nlist': 16384}}
+2023-03-03 17:37:15,619 | DEBUG | milvus_helpers.py | create_collection | 57 | Create Milvus collection: product6
+2023-03-03 17:37:19,964 | DEBUG | milvus_helpers.py | insert | 74 | Insert vectors to Milvus in collection: product6 with 1 rows
+2023-03-03 17:37:19,965 | INFO | main.py | upload_images | 91 | Successfully uploaded data, vector id: ['00c']
+2023-03-03 17:37:26,432 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:37:26,433 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:37:26,433 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 17:37:26,433 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:37:26,433 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 17:37:26,433 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 17:37:26,433 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:37:26,433 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:37:26,434 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 17:37:26,435 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 17:37:26,435 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:37:26,436 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:37:27,511 | DEBUG | milvus_helpers.py | search_vectors | 121 | Successfully search in collection: ["['(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 17:37:27,512 | ERROR | main.py | search_images | 117 | 'Entity' object is not subscriptable
+2023-03-03 17:38:13,620 | INFO | helpers.py | load_pretrained | 247 | Loading pretrained weights from url (https://github.com/rwightman/pytorch-image-models/releases/download/v0.1-rsb-weights/resnet50_a1_0-14fe96d1.pth)
+2023-03-03 17:38:15,338 | DEBUG | milvus_helpers.py | __init__ | 22 | Successfully connect to Milvus with IP:103.143.81.176 and PORT:19530
+2023-03-03 17:38:15,358 | DEBUG | selector_events.py | __init__ | 54 | Using selector: EpollSelector
+2023-03-03 17:38:17,967 | DEBUG | multipart.py | callback | 604 | Calling on_part_begin with no data
+2023-03-03 17:38:17,967 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[54:73]
+2023-03-03 17:38:17,968 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[75:137]
+2023-03-03 17:38:17,968 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:38:17,968 | DEBUG | multipart.py | callback | 601 | Calling on_header_field with data[139:151]
+2023-03-03 17:38:17,968 | DEBUG | multipart.py | callback | 601 | Calling on_header_value with data[153:163]
+2023-03-03 17:38:17,968 | DEBUG | multipart.py | callback | 604 | Calling on_header_end with no data
+2023-03-03 17:38:17,968 | DEBUG | multipart.py | callback | 604 | Calling on_headers_finished with no data
+2023-03-03 17:38:17,969 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:65536]
+2023-03-03 17:38:17,970 | DEBUG | multipart.py | callback | 601 | Calling on_part_data with data[0:124686]
+2023-03-03 17:38:17,970 | DEBUG | multipart.py | callback | 604 | Calling on_part_end with no data
+2023-03-03 17:38:17,970 | DEBUG | multipart.py | callback | 604 | Calling on_end with no data
+2023-03-03 17:38:19,936 | DEBUG | milvus_helpers.py | search_vectors | 121 | Successfully search in collection: ["['(distance: 1.1915321350097656, id: 00c)']"]
+2023-03-03 17:38:19,937 | INFO | main.py | search_images | 114 | Successfully searched similar images!

+ 11 - 6
src/main.py

@@ -73,7 +73,7 @@ async def load_images(item: Item):
 
 # file:image,query:id,url,table_name
 @app.post('/img/upload')
-async def upload_images(image: UploadFile = File(None),id: str = None,url: str = None, table_name: str = None):
+async def upload_images(image: UploadFile = File(None),hash: str = None,id: str = None,url: str = None, table_name: str = None):
     # Insert the upload image to Milvus/MySQL
     try:
         # Save the upload image to server.
@@ -87,7 +87,7 @@ async def upload_images(image: UploadFile = File(None),id: str = None,url: str =
             urlretrieve(url, img_path)
         else:
             return {'status': False, 'msg': 'Image and url are required'}, 400
-        vector_id = do_upload(table_name, id,img_path, MODEL, MILVUS_CLI)
+        vector_id = do_upload(table_name,hash, id, img_path, MODEL, MILVUS_CLI)
         LOGGER.info(f"Successfully uploaded data, vector id: {vector_id}")
         return {'id':vector_id[0]}
     except Exception as e:
@@ -104,11 +104,16 @@ async def search_images(image: UploadFile = File(...), limit: int = TOP_K, table
         img_path = os.path.join(UPLOAD_PATH, image.filename)
         with open(img_path, "wb+") as f:
             f.write(content)
-        paths, distances = do_search(table_name, img_path, limit, MODEL, MILVUS_CLI)
-        res = dict(zip(paths, distances))
-        res = sorted(res.items(), key=lambda item: item[1])
+        res = do_search(table_name, img_path, limit, MODEL, MILVUS_CLI)
+        print(res)
+        # ["['(distance: 1.1915321350097656, id: 00c)']"]
+        for hits in res:
+            for hit in hits:
+                print(hit.entity.product_id)
+        # res = dict(zip(paths, distances))
+        # res = sorted(res.items(), key=lambda item: item[1])
         LOGGER.info("Successfully searched similar images!")
-        return {"list":res}
+        return "------------------------"
     except Exception as e:
         LOGGER.error(e)
         return {'status': False, 'msg': e}, 400

+ 20 - 10
src/milvus_helpers.py

@@ -43,13 +43,15 @@ class MilvusHelper:
         # Create milvus collection if not exists
         try:
             if not self.has_collection(collection_name):
-                field1 = FieldSchema(name='id', dtype=DataType.VARCHAR, descrition='id to image', max_length=500,
-                                     is_primary=True, auto_id=False)
-                field2 = FieldSchema(name='path', dtype=DataType.VARCHAR, descrition='path to image', max_length=500,
+                im_hash = FieldSchema(name='im_hash', dtype=DataType.VARCHAR, descrition='hash to image', max_length=500,
+                                     is_primary=True, auto_id=False)                        
+                product_id = FieldSchema(name='product_id', dtype=DataType.VARCHAR, descrition='id to image', max_length=500,
                                      is_primary=False, auto_id=False)
-                field3 = FieldSchema(name="embedding", dtype=DataType.FLOAT_VECTOR, descrition="image embedding vectors",
+                # im_url = FieldSchema(name='im_url', dtype=DataType.VARCHAR, descrition='path to image', max_length=500,
+                #                      is_primary=False, auto_id=False)
+                im_vector = FieldSchema(name="im_vector", dtype=DataType.FLOAT_VECTOR, descrition="image vectors",
                                      dim=VECTOR_DIMENSION, is_primary=False)
-                schema = CollectionSchema(fields=[field1, field2,field3], description="collection_name: "+collection_name)
+                schema = CollectionSchema(fields=[im_hash, product_id,im_vector], description="collection_name: "+collection_name)
                 self.collection = Collection(name=collection_name, schema=schema)
                 self.create_index(collection_name)
                 LOGGER.debug(f"Create Milvus collection: {collection_name}")
@@ -60,10 +62,11 @@ class MilvusHelper:
             LOGGER.error(f"Failed to load data to Milvus: {e}")
             sys.exit(1)
 
-    def insert(self, collection_name, id,path, vectors):
+    def insert(self, collection_name, hash, id, vectors):
         # Batch insert vectors to milvus collection
         try:
-            data = [id,path, vectors]
+            data = [hash, id,vectors]
+            print(data)
             self.set_collection(collection_name)
             mr = self.collection.insert(data)
             ids = mr.primary_keys
@@ -79,8 +82,8 @@ class MilvusHelper:
         # Create IVF_FLAT index on milvus collection
         try:
             self.set_collection(collection_name)
-            default_index = {"index_type": "IVF_SQ8", "metric_type": METRIC_TYPE, "params": {"nlist": 16384}}
-            status = self.collection.create_index(field_name="embedding", index_params=default_index)
+            default_index = {"index_type": "IVF_FLAT", "metric_type": METRIC_TYPE, "params": {"nlist": 16384}}
+            status = self.collection.create_index(field_name="im_vector", index_params=default_index)
             if not status.code:
                 LOGGER.debug(
                     f"Successfully create index in collection:{collection_name} with param:{default_index}")
@@ -107,7 +110,14 @@ class MilvusHelper:
         try:
             self.set_collection(collection_name)
             search_params = {"metric_type": METRIC_TYPE, "params": {"nprobe": 16}}
-            res = self.collection.search(vectors, anns_field="embedding", param=search_params, limit=top_k)
+            res = self.collection.search(
+                vectors, 
+                anns_field="im_vector", 
+                param=search_params, 
+                limit=top_k,
+                expr=None,
+                partition_names=None,
+                output_fields=["product_id"])
             LOGGER.debug(f"Successfully search in collection: {res}")
             return res
         except Exception as e:

+ 6 - 5
src/operators.py

@@ -5,13 +5,13 @@ from config import DEFAULT_TABLE
 from logs import LOGGER
 
 
-def do_upload(table_name,id, img_path, model, milvus_client):
+def do_upload(table_name,hash,id,img_path, model, milvus_client):
     try:
         if not table_name:
             table_name = DEFAULT_TABLE
         milvus_client.create_collection(table_name)
         feat = model.resnet50_extract_feat(img_path)
-        ids = milvus_client.insert(table_name, [id],[img_path], [feat])
+        ids = milvus_client.insert(table_name,[hash],[id], [feat])
         return ids
     except Exception as e:
         LOGGER.error(f"Error with upload : {e}")
@@ -61,9 +61,10 @@ def do_search(table_name, img_path, top_k, model, milvus_client):
             table_name = DEFAULT_TABLE
         feat = model.resnet50_extract_feat(img_path)
         vectors = milvus_client.search_vectors(table_name, [feat], top_k)
-        paths = [str(x.id) for x in vectors[0]]
-        distances = [x.distance for x in vectors[0]]
-        return paths, distances
+        # hash = [str(x.id) for x in vectors[0]]
+        # distances = [x.distance for x in vectors[0]]
+        # return vectors, distances
+        return vectors
     except Exception as e:
         LOGGER.error(f"Error with search : {e}")
         sys.exit(1)

BIN
src/tmp/images/5WzUbGMeeKYNRbKGFEwYfw.jpg


BIN
src/tmp/images/微信图片_20230303144441.jpg