<commit_before>from data_generator import DataGenerator
from densenet_fc import DenseNetFCN


def main():
    model = DenseNetFCN()<commit_msg>predictをちょっとupdate<commit_after>from data_generator import DataGenerator
from keras.models import model_from_json


def main():
    model_json = "dense_fcn.json"
    model_weights = "dense_fcn.hdf5"
    model = model_from_json(model_json)
    model.load_weights(model_weights)


if __name__ == "__main__":
    main()
{'fraction_non_alphanumeric': 0.08061002178649238, 'fraction_numerical': 0.002178649237472767, 'mean_word_length': 5.47887323943662, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4836956', 'n_tokens_mistral': 158, 'n_tokens_neox': 153, 'n_words': 32}