mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	Don't unset example docs
This commit is contained in:
		
							parent
							
								
									04583fe0c6
								
							
						
					
					
						commit
						5b1d15e247
					
				|  | @ -271,10 +271,6 @@ def train( | |||
|                     update_meta(training, nlp, info) | ||||
|                     nlp.to_disk(output_path / "model-best") | ||||
|                 progress = tqdm.tqdm(total=training["eval_frequency"], leave=False) | ||||
|             # Clean up the objects to faciliate garbage collection. | ||||
|             for eg in batch: | ||||
|                 eg.reference = None | ||||
|                 eg.predicted = None | ||||
|     except Exception as e: | ||||
|         if output_path is not None: | ||||
|             msg.warn( | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user