-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathshell.nix
43 lines (41 loc) · 850 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
let
pkgs = import ./nixpkgs.nix;
tfpkgs = import (
builtins.fetchGit {
name = "nixos-tensorflow-2";
url = https://github.com/nixos/nixpkgs;
ref = "d59b4d07045418bae85a9bdbfdb86d60bc1640bc";}) {};
tf_packages = with tfpkgs; {
tf = python37Packages.tensorflowWithCuda;
tf-tb = python37Packages.tensorflow-tensorboard;
};
ml_libs = pkgs.python37Packages ;
in
pkgs.mkShell {
name = "grad";
buildInputs = with pkgs // ml_libs; [
python37
numpy
typeguard
numba
tensorflow_2
# tf
# tf-tb
matplotlib
pandas
dask
umap-learn
scipy
scikitlearn
h5py
seaborn
pytorch
virtualenv
torchvision
R
rPackages.rmarkdown
rPackages.reticulate
];
shellHook = ''
'';
}