Package Base Details: python-keras

Git Clone URL: https://aur.archlinux.org/python-keras.git (read-only)
Submitter: StreakyCobra
Maintainer: davidmcinnis (ixil)
Last Packager: davidmcinnis
Votes: 38
Popularity: 2.368224
First Submitted: 2015-06-30 07:08
Last Updated: 2018-10-08 22:54

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

joanmanel commented on 2018-06-14 15:40

Just to say that after today's update I am still receiving the error:

ModuleNotFoundError: No module named 'keras_applications'

lopsided98 commented on 2018-06-14 14:44

Removing setuptools from the makedepends causes this package to fail to build in a clean chroot.

ixil commented on 2018-06-11 22:36

I made (my first) packages that should fix these problems: python-keras-applications, python-keras-preprocessing and the corresponding python2 versions. As said it's my first go at making a package so let me know if there are problems. @Dave, if you want to maintain/combine these into something else, I'm happy for that to be the case. (I think I may have stuffed up the make_depnds/depends)

joanmanel commented on 2018-06-11 13:42

I am also getting the ModuleNotFoundError: No module named 'keras_applications' error

alcasa commented on 2018-06-11 09:59

In 2.2.0 modules applications and preprocessing have been split into preprocessing and applications. Please consider creating the required packages.

ixil commented on 2018-06-10 22:57

I don't know much about packaging so not sure if this is a problem at my end, on importing keras I get: no module named 'keras_applications' afaik, keras was split in the last release into multiple modules A requirement in the setup.py file requires keras_applications==1.0.2, I guess it's a new dependency required? [EDIT] 'keras_preprocessing==1.0.1' is new from the last release too.

AKSoo commented on 2018-04-10 07:11

Is there a reason for python2-keras being a split package instead of a separate package?

Looking at the PKGBUILD, the build process is completely separate.

Also, for python2-keras, all those python2 dependencies has to be kept after build. makepkg complains about this.

lopsided98 commented on 2017-11-05 00:39

Why did python2-tensorflow get added as a dependency if it does not exist? Was that a mistake?

I assume that if Tensorflow is not installed, Keras gets built without Tensorflow support. If that is true, then adding python-tensorflow as a makedepend makes since, but not python2-tensorflow, since Arch doesn't currently have Python 2 support for Tensorflow.

Ideally, the maintainer would add Python 2 support to the official Tensorflow package, so no one would have to build it, but it doesn't seem like a high priority since no one has ever asked for Python 2 support for Tensorflow (no Arch bug reports) or created an AUR package. Maybe there is a technical reason for this?

jerry73204 commented on 2017-11-04 17:40

python2-tensorflow package is missing, causing the unmet dependency.
How about create an individual python2-keras package instead of a split package in python-keras? Compiling python2-tensorflow might be tedious.

walwe commented on 2017-09-05 13:43

@dack I am experiencing the same problem and found the source.

The tensorflow archlinux package maintainer has decided to delete 'tensorflow.contrib.tensorboard'
> https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/tensorflow
> # tensorboard has been separated from upstream but they still install it with
> # tensorflow. I don't know what kind of sense that makes but we have to clean
> # it out from this pacakge.
> rm -rf ${pkgdir}/usr/lib/python3.6/site-packages/tensorflow/contrib/tensorboard
> rm -rf ${pkgdir}/usr/bin/tensorboard

Quick-fix: Install pip version
sudo pacman -R python-tensorflow
sudo pip install tensorflow

We might have to tell him the sense it makes...

[EDIT]:
Someone already did: https://bugs.archlinux.org/task/55477