In [1]:
from lstm.res.model_tf import *
from lstm.metrics.inception import *
In [2]:
_finMod = load_from_disk("weightvectors_8_16")
weightvectors_8_16.json
Loaded model from disk
In [3]:
composers = ["Bach", "Beethoven", "Handel", "Haydn", "Hays", "Schubert", "Thomas", "Webster"]
In [5]:
p_yx = asarray(predArr)
len(p_yx)
Out[5]:
796
In [7]:
score = calculate_inception_score(p_yx)
print("Inception Score : ", score)
Inception Score :  5.8515024
In [ ]: