Cargando…

From Keras to SOFIE

SOFIE is a system developed in ROOT that automatically creates a fast c++ code for inference of machine learning models in ONNX format, which is used when such models are trained with ROOT. However, the format requirement raises a problem when external libraries in python, such as keras and pytorch,...

Descripción completa

Detalles Bibliográficos
Autor principal: Stern, Uri
Lenguaje:eng
Publicado: 2023
Materias:
Acceso en línea:http://cds.cern.ch/record/2871608
_version_ 1780978556056109056
author Stern, Uri
author_facet Stern, Uri
author_sort Stern, Uri
collection CERN
description SOFIE is a system developed in ROOT that automatically creates a fast c++ code for inference of machine learning models in ONNX format, which is used when such models are trained with ROOT. However, the format requirement raises a problem when external libraries in python, such as keras and pytorch, are used to train the models, as they use a different format. To enable usage of SOFIE with neural networks trained with the popular keras library in python, we created an automatic parser from keras models into an intermediate class used by SOFIE, thus enabling the usage of advanced neural networks - CNN, RNN, etc. - with the SOFIE system. The parser is reliable and safe to use, and will be incorporated in the ROOT library.
id cern-2871608
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2023
record_format invenio
spelling cern-28716082023-09-18T18:54:14Zhttp://cds.cern.ch/record/2871608engStern, UriFrom Keras to SOFIEParticle Physics - ExperimentSOFIE is a system developed in ROOT that automatically creates a fast c++ code for inference of machine learning models in ONNX format, which is used when such models are trained with ROOT. However, the format requirement raises a problem when external libraries in python, such as keras and pytorch, are used to train the models, as they use a different format. To enable usage of SOFIE with neural networks trained with the popular keras library in python, we created an automatic parser from keras models into an intermediate class used by SOFIE, thus enabling the usage of advanced neural networks - CNN, RNN, etc. - with the SOFIE system. The parser is reliable and safe to use, and will be incorporated in the ROOT library.CERN-STUDENTS-Note-2023-153oai:cds.cern.ch:28716082023-09-18
spellingShingle Particle Physics - Experiment
Stern, Uri
From Keras to SOFIE
title From Keras to SOFIE
title_full From Keras to SOFIE
title_fullStr From Keras to SOFIE
title_full_unstemmed From Keras to SOFIE
title_short From Keras to SOFIE
title_sort from keras to sofie
topic Particle Physics - Experiment
url http://cds.cern.ch/record/2871608
work_keys_str_mv AT sternuri fromkerastosofie