RomaniukVadim / glicOne-overlay

My overlay with utils that non exist in layman repos.
GNU General Public License v3.0
2 stars 3 forks source link

keras h5py & hdf5 flags #2

Closed LGTrader closed 6 years ago

LGTrader commented 6 years ago

First, thanks for the work on the overlay. I've done an initial install of keras but haven't used it yet. I will report back how it goes.

I am having trouble with the h5py and hdf5 flags. Are these flags known to work or not work?

I probably only need hdf5 right now but I'm not understanding the emerge messages.

Thanks in advance.

c2RAID6 ~ # emerge -pvDuN keras

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! The ebuild selected to satisfy "sci-libs/hdf5" has unmet requirements.

(dependency required by "dev-python/keras-2.1.5::glicOne[hdf5]" [ebuild]) (dependency required by "keras" [argument]) c2RAID6 ~ #

RomaniukVadim commented 6 years ago

Hi, I am glad to hear that. As I see you try to emerge hdf5 package with threads cxx fortran and hl use flags, but emerge said that threads can't be enabled if cxx fortran or hl flags enabled. Try to disable threads, or cxx fortran hl in sci-libs/hdf5 package.

LGTrader commented 6 years ago

Thank you. sci-lib/hdf5 -threads seems to have built correctly. I'm just an end-user type so trickier emerge message get past me.

The next issue is finding tensorflow. Can you recommend an overlay with that? I've tried building keras with and without cudnn support but both ways simple keras imports tell me there's no tensorflow backend found.

LGTrader commented 6 years ago

NOTE: I can switch to the Theano backend using keras.json but I'd like to work with Tensorflow if possible.

RomaniukVadim commented 6 years ago

science overlay have tensorflow ebuild. Also I know keras not well, just write ebuild.

LGTrader commented 6 years ago

OK, sadly the science overlay tensorflow ebuild failed here so I've posted a bug report. I'm not a keras expert but have taken a class recently and intend to use it extensively if it works on Gentoo. I can work short-term with theano as a backend. Hopefully someone will address the tensorflow build issues. Thanks again for your help.

RomaniukVadim commented 6 years ago

You are welcome. Close issue for now.