mirror of
https://github.com/prise6/smart-iss-posts
synced 2024-04-30 21:02:46 +02:00
script pour lancer le train du modele horizontal/vertical
This commit is contained in:
parent
29ef6cdb5b
commit
f731a2cc6a
|
@ -0,0 +1,22 @@
|
|||
import tensorflow as tf
|
||||
import os
|
||||
import sys
|
||||
from dotenv import find_dotenv, load_dotenv
|
||||
from data_loader import TFRecordsLoader
|
||||
from trainer_model import BaseTrainer
|
||||
from base_model import BaseModel
|
||||
|
||||
|
||||
def main():
|
||||
load_dotenv(find_dotenv())
|
||||
|
||||
sess = tf.Session()
|
||||
|
||||
model = BaseModel()
|
||||
data_loader = TFRecordsLoader()
|
||||
|
||||
trainer = BaseTrainer(sess, model, data_loader)
|
||||
trainer.train()
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Reference in a new issue