python.pkgs.keras-preprocessing: init at 1.0.2
This commit is contained in:
parent
5641eb306e
commit
2553369795
@ -0,0 +1,27 @@
|
|||||||
|
{ lib, buildPythonPackage, fetchPypi, numpy, scipy, six }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "Keras_Preprocessing";
|
||||||
|
version = "1.0.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "f5306554d2b454d825b36f35e327744f5477bd2ae21017f1a93b2097bed6757e";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Cyclic dependency: keras-preprocessing requires keras, which requires keras-preprocessing
|
||||||
|
postPatch = ''
|
||||||
|
sed -i "s/keras>=[^']*//" setup.py
|
||||||
|
'';
|
||||||
|
|
||||||
|
# No tests in PyPI tarball
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ numpy scipy six ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Easy data preprocessing and data augmentation for deep learning models";
|
||||||
|
homepage = https://github.com/keras-team/keras-preprocessing;
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -17082,6 +17082,8 @@ EOF
|
|||||||
|
|
||||||
Keras = callPackage ../development/python-modules/keras { };
|
Keras = callPackage ../development/python-modules/keras { };
|
||||||
|
|
||||||
|
keras-preprocessing = callPackage ../development/python-modules/keras-preprocessing { };
|
||||||
|
|
||||||
Lasagne = buildPythonPackage rec {
|
Lasagne = buildPythonPackage rec {
|
||||||
name = "Lasagne-${version}";
|
name = "Lasagne-${version}";
|
||||||
version = "0.1";
|
version = "0.1";
|
||||||
|
Loading…
Reference in New Issue
Block a user