Skip to content

Error # could not open .tmp/.index/knn.index for reading: No such file or directory #36

@siddgarg88

Description

@siddgarg88

When I ran the training wrapper as below, it gave me error

wrapper = TrainingWrapper(
retro = retro, # path to retro instance
knn = 2, # knn (2 in paper was sufficient)
chunk_size = 64, # chunk size (64 in paper)
documents_path = "/home/AD/siddgarg/Retro", # path to folder of text
glob = '**/train_text_admission_v2.txt',
chunks_memmap_path = './train.chunks.dat',
seqs_memmap_path = './train.seq.dat',
doc_ids_memmap_path = './train.doc_ids.dat',
max_chunks = 1_000_000, # maximum cap to chunks
max_seqs = 100_000, # maximum seqs
knn_extra_neighbors = 100, # num extra neighbors to fetch
max_index_memory_usage = '100m',
processed_stats_json_path = './processed-stats3.json',
current_memory_available = '1G'
)

could not open .tmp/.index/knn.index for reading: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions