Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions benchs/bench_fw/descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ class DatasetDescriptor:
# sampling column for xdb
sampling_column: Optional[str] = None

# blob store
bucket: Optional[str] = None
path: Optional[str] = None

def __hash__(self):
return hash(self.get_filename())

Expand Down
5 changes: 5 additions & 0 deletions contrib/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ def get_groundtruth(self, k=100):
dataset_basedir = 'data/'


def set_dataset_basedir(path):
global dataset_basedir
dataset_basedir = path


class DatasetSIFT1M(Dataset):
"""
The original dataset is available at: http://corpus-texmex.irisa.fr/
Expand Down