mirror of
https://github.com/prise6/smart-iss-posts
synced 2024-06-08 08:42:11 +02:00
Ajout de la tache train_model + update .gitignore
This commit is contained in:
parent
f731a2cc6a
commit
f5f40c8269
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -80,3 +80,8 @@ target/
|
|||
|
||||
# Mac OS-specific storage files
|
||||
.DS_Store
|
||||
|
||||
# makefile step
|
||||
sync_collections
|
||||
resize_collections
|
||||
build_tfrecords
|
9
Makefile
9
Makefile
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue