inching closer to the truth
This commit is contained in:
@ -10,11 +10,9 @@ import tard_wrangler
|
||||
if len(argv) > 1:
|
||||
mymodel = model.load_model(argv[1])
|
||||
else:
|
||||
dataset = data.get_data()
|
||||
dataset = data.get_data("dataset-linux.pkl")
|
||||
mymodel = model.make_model(dataset)
|
||||
timestamp = datetime.now().strftime("%Y%m%d-%H%M%S")
|
||||
mymodel.save(MODEL_DIRECTORY + f"model_-_{timestamp}.keras")
|
||||
|
||||
predictions = tard_wrangler.full_predict("data/xop.c.norm", mymodel)
|
||||
tard_wrangler.build("data/xop.c.norm", predictions)
|
||||
tard_wrangler.cat_build()
|
||||
print(tard_wrangler.full_predict("training_set/xop.c", "training_set/xop.c.norm", mymodel))
|
||||
|
Reference in New Issue
Block a user