1
0
Fork 0
mirror of https://github.com/prise6/smart-iss-posts synced 2024-05-01 05:12:44 +02:00

Ajout de la tache train_model + update .gitignore

This commit is contained in:
François Vieille 2018-08-23 18:56:36 +02:00
parent f731a2cc6a
commit f5f40c8269
2 changed files with 14 additions and 0 deletions

5
.gitignore vendored
View file

@ -80,3 +80,8 @@ target/
# Mac OS-specific storage files
.DS_Store
# makefile step
sync_collections
resize_collections
build_tfrecords

View file

@ -39,10 +39,19 @@ resize_collections: src/data/resize_collections.py
$(PYTHON_INTERPRETER) src/data/resize_collections.py
touch resize_collections
## Build TFRecords
build_tfrecords: sync_collections resize_collections src/features/build_tfrecords.py
$(PYTHON_INTERPRETER) src/features/build_tfrecords.py
touch build_tfrecords
## Train model
train_model: build_tfrecords
$(PYTHON_INTERPRETER) src/models/train_model.py
## test
draft:
$(PYTHON_INTERPRETER) src/models/data_loader.py
## Delete all compiled Python files
clean: