chandrakalagowda commited on
Commit
ecea61b
1 Parent(s): be7a71b

Update 1_reverse_video_search_engine.py

Browse files
Files changed (1) hide show
  1. 1_reverse_video_search_engine.py +6 -18
1_reverse_video_search_engine.py CHANGED
@@ -57,11 +57,9 @@ with ZipFile('reverse_video_search.zip', 'r') as zips:
57
  print('Extracting all the files now...')
58
  zips.extractall()
59
  print('Done!')
60
-
61
-
62
  # In[2]:
63
 
64
-
65
  import pandas as pd
66
  import time
67
 
@@ -106,29 +104,19 @@ def ground_truth(path):
106
  from milvus import default_server
107
  from pymilvus import connections, utility
108
  default_server.start()
109
-
110
 
111
  # In[5]:
112
-
113
-
114
  connections.connect(host='127.0.0.1', port=default_server.listen_port)
115
-
116
-
117
  # In[6]:
118
-
119
-
120
  default_server.listen_port
121
-
122
-
123
  # In[7]:
124
-
125
-
126
  print(utility.get_server_version())
127
-
128
 
129
  # In[10]:
130
-
131
-
132
  from pymilvus import connections, FieldSchema, CollectionSchema, DataType, Collection, utility
133
 
134
  #connections.connect(host='localhost', port='19530')
@@ -206,7 +194,7 @@ print('Total number of inserted data is {}.'.format(collection.num_entities))
206
 
207
  # In[13]:
208
 
209
-
210
  print('Total number of inserted data is {}.'.format(collection.num_entities))
211
 
212
 
 
57
  print('Extracting all the files now...')
58
  zips.extractall()
59
  print('Done!')
60
+
 
61
  # In[2]:
62
 
 
63
  import pandas as pd
64
  import time
65
 
 
104
  from milvus import default_server
105
  from pymilvus import connections, utility
106
  default_server.start()
107
+ time.sleep(60)
108
 
109
  # In[5]:
 
 
110
  connections.connect(host='127.0.0.1', port=default_server.listen_port)
111
+ time.sleep(60)
 
112
  # In[6]:
 
 
113
  default_server.listen_port
 
 
114
  # In[7]:
115
+ time.sleep(10)
 
116
  print(utility.get_server_version())
117
+ time.sleep(10)
118
 
119
  # In[10]:
 
 
120
  from pymilvus import connections, FieldSchema, CollectionSchema, DataType, Collection, utility
121
 
122
  #connections.connect(host='localhost', port='19530')
 
194
 
195
  # In[13]:
196
 
197
+ time.sleep(60)
198
  print('Total number of inserted data is {}.'.format(collection.num_entities))
199
 
200