Skip to content

Commit

Permalink
FIX style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dantegd committed Dec 17, 2024
1 parent 117d98e commit 836a299
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions context/cuvs-bench/cuvs_bench_get_dataset.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ index a6b154ef..b023fcbd 100644
import sys
-from urllib.request import urlretrieve
+import requests


def get_dataset_path(name, ann_bench_data_path):
@@ -29,7 +29,12 @@ def get_dataset_path(name, ann_bench_data_path):
def download_dataset(url, path):
Expand All @@ -22,6 +22,6 @@ index a6b154ef..b023fcbd 100644
+ for chunk in r.iter_content(chunk_size=8192):
+ if chunk:
+ f.write(chunk)


def convert_hdf5_to_fbin(path, normalize):

0 comments on commit 836a299

Please sign in to comment.