Skip to content

Commit 84f547e

Browse files
corretti lsh
1 parent 813d47d commit 84f547e

File tree

5 files changed

+25283
-967
lines changed

5 files changed

+25283
-967
lines changed

CameraDatasetParser.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@
866866
"name": "python",
867867
"nbconvert_exporter": "python",
868868
"pygments_lexer": "ipython3",
869-
"version": "3.7.3"
869+
"version": "3.6.7"
870870
}
871871
},
872872
"nbformat": 4,

deeper_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def pad_table_vectors(leftTableVectors, rightTableVectors, maxSequenceLength):
7676
# to their embedding vector
7777
def get_word_to_embedding_map(filepath):
7878
wordToEmbeddingMap = {}
79-
with open(filepath) as f:
79+
with open(filepath,encoding='utf-8') as f:
8080
for line in f:
8181
word, coefs = line.split(maxsplit=1)
8282
coefs = np.fromstring(coefs, 'f', sep=' ')

lsh-test-data/DI2KG-embeddings.csv

+5,245-525
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)