mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
fix deserialization order
This commit is contained in:
parent
64adda3202
commit
15134ef611
|
@ -425,9 +425,9 @@ cdef class Vectors:
|
|||
self.data = xp.load(str(path))
|
||||
|
||||
serializers = OrderedDict((
|
||||
("key2row", load_key2row),
|
||||
("keys", load_keys),
|
||||
("vectors", load_vectors),
|
||||
("keys", load_keys),
|
||||
("key2row", load_key2row),
|
||||
))
|
||||
util.from_disk(path, serializers, [])
|
||||
self._sync_unset()
|
||||
|
|
Loading…
Reference in New Issue
Block a user