modern-fortran / neural-fortran

A parallel framework for deep learning
MIT License
398 stars 82 forks source link

Support for loading Keras models #79

Closed milancurcic closed 2 years ago

milancurcic commented 2 years ago

This PR introduces support for reading simple Keras models from HDF5:

TODO:

In support of #43.

milancurcic commented 2 years ago

@scivision, say I have an Intel build of HDF5 in /opt/hdf5-intel, with library and module files in lib/ and include/ relative to that path.

How do I pass this information to CMake so that it finds it?

I tried

FC=ifort cmake .. -DSERIAL=1 -DCMAKE_LIBRARY_PATH=/opt/hdf5-intel

which doesn't seem to do it.

I'd like to add this instruction to the README for people who want to run with Intel.

milancurcic commented 2 years ago

All good, I figured it out--it expects HDF5_ROOT to be set.