mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	Add train command to fabfile
This commit is contained in:
		
							parent
							
								
									a1be01185c
								
							
						
					
					
						commit
						dbbfc02bda
					
				
							
								
								
									
										5
									
								
								fabfile.py
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								fabfile.py
									
									
									
									
										vendored
									
									
								
							|  | @ -81,3 +81,8 @@ def test(): | |||
|     with virtualenv(VENV_DIR) as venv_local: | ||||
|         with lcd(path.dirname(__file__)): | ||||
|             venv_local('pytest -x spacy/tests') | ||||
| 
 | ||||
| def train(): | ||||
|     args = environ.get('SPACY_TRAIN_ARGS', '') | ||||
|     with virtualenv(VENV_DIR) as venv_local: | ||||
|         venv_local('spacy train {args}'.format(args=args)) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user