mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-30 23:47:31 +03:00 
			
		
		
		
	Pass string path to numpy, to fix #1479
This commit is contained in:
		
							parent
							
								
									00435d8f0c
								
							
						
					
					
						commit
						225cc249c9
					
				|  | @ -358,7 +358,7 @@ cdef class Vectors: | |||
|         def load_vectors(path): | ||||
|             xp = Model.ops.xp | ||||
|             if path.exists(): | ||||
|                 self.data = xp.load(path) | ||||
|                 self.data = xp.load(str(path)) | ||||
| 
 | ||||
|         serializers = OrderedDict(( | ||||
|             ('key2row', load_key2row), | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user