|
@@ -1,9 +1,9 @@
|
|
|
import os
|
|
|
import sys
|
|
|
|
|
|
-__dir__ = os.path.dirname(os.path.abspath(__file__))
|
|
|
+__dir__ = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
|
#sys.path.append(__dir__)
|
|
|
-sys.path.append(os.path.abspath(os.path.join(__dir__, '..')))
|
|
|
+sys.path.append(os.path.join(__dir__,"tools"))
|
|
|
|
|
|
import json
|
|
|
from concurrent.futures import ThreadPoolExecutor
|
|
@@ -58,8 +58,8 @@ def main():
|
|
|
|
|
|
max_workers = 2
|
|
|
split_file_list = [
|
|
|
- ['/dyp/vec/vec-part-00017.gz'],
|
|
|
- ['/dyp/vec/vec-part-00018.gz']
|
|
|
+ ['/dyp/vec/part-00017.gz'],
|
|
|
+ ['/dyp/vec/part-00018.gz']
|
|
|
]
|
|
|
future_list = []
|
|
|
with ThreadPoolExecutor(max_workers=max_workers) as executor:
|