3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/mask-rcnn/default.nix

52 lines
950 B
Nix
Raw Normal View History

2020-03-16 05:34:01 +00:00
{ buildPythonPackage
, cython
, fetchFromGitHub
, h5py
, imgaug
, ipython
, Keras
, lib
, matplotlib
, numpy
, opencv3
, pillow
, scikitimage
, scipy
, tensorflow_2
2020-03-16 05:34:01 +00:00
}:
buildPythonPackage rec {
pname = "mask-rcnn";
version = "2.1";
2020-08-25 03:07:09 +01:00
2020-03-16 05:34:01 +00:00
src = fetchFromGitHub {
owner = "matterport";
repo = "Mask_RCNN";
rev = "3deaec5d902d16e1daf56b62d5971d428dc920bc";
sha256 = "13s3q9yh2q9m9vyksd269mww3bni4q2w7q5l419q70ca075qp8zp";
};
nativeBuildInputs = [ cython ];
propagatedBuildInputs = [
h5py
imgaug
ipython
Keras
matplotlib
numpy
opencv3
pillow
scikitimage
scipy
tensorflow_2 # Keras only supports tensorflow 2 now
2020-03-16 05:34:01 +00:00
];
meta = with lib; {
description = "Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow";
homepage = "https://github.com/matterport/Mask_RCNN";
license = licenses.mit;
maintainers = with maintainers; [ rakesh4g ];
};
}