forked from conda-forge/caffe-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meta.yaml
137 lines (120 loc) · 2.91 KB
/
meta.yaml
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
# Find our git repo: https://github.com/loopbio/caffe-feedstock
{% set base_version = "1.0.0" %}
{% set version_postfix = "rc5" %}
{% set version = base_version + version_postfix %}
{% set variant = "openblas" %}
package:
name: caffe
version: {{ version }}
source:
fn: caffe_{{ version }}.tar.gz
url: https://github.com/BVLC/caffe/archive/{{ version_postfix }}.tar.gz
sha1: 7511c051a451f091fdf2cbd9b69be014fdc61f9b
build:
number: 1
skip: true # [not linux]
features:
- blas_{{ variant }}
- cuda80
requirements:
build:
- cmake
- cython
- blas 1.1 {{ variant }}
- openblas 0.2.19|0.2.19.*
- boost 1.63.*
- hdf5 1.8.17|1.8.17.*
- gflags
- glog
- h5py
- ipython
- leveldb
- lmdb
- matplotlib
- networkx
- nose
- numpy x.x
- opencv 3.*
- pandas
- pillow
- protobuf
- python
- python-dateutil
- python-gflags
- python-leveldb
- pyyaml
- scikit-image
- scipy
- six
- snappy
run:
- blas 1.1 {{ variant }}
- openblas 0.2.19|0.2.19.*
- boost 1.63.*
- hdf5 1.8.17|1.8.17.*
- gflags
- glog
- h5py
- ipython
- leveldb
- lmdb
- matplotlib
- networkx
- numpy x.x
- opencv 3.*
- pandas
- pillow
- protobuf
- python
- python-dateutil
- python-gflags
- python-leveldb
- pyyaml
- scikit-image
- scipy
- six
- snappy
test:
source_files:
- python/caffe/test
requires:
- cuda80-feature
- pytest
commands:
# Test commands.
- command -v "${PREFIX}/bin/caffe"
- command -v "${PREFIX}/bin/classification"
- command -v "${PREFIX}/bin/classify"
- command -v "${PREFIX}/bin/compute_image_mean"
- command -v "${PREFIX}/bin/convert_cifar_data"
- command -v "${PREFIX}/bin/convert_imageset"
- command -v "${PREFIX}/bin/convert_mnist_data"
- command -v "${PREFIX}/bin/convert_mnist_siamese_data"
- command -v "${PREFIX}/bin/detect"
- command -v "${PREFIX}/bin/device_query"
- command -v "${PREFIX}/bin/draw_net"
- command -v "${PREFIX}/bin/extract_features"
- command -v "${PREFIX}/bin/finetune_net"
- command -v "${PREFIX}/bin/net_speed_benchmark"
- command -v "${PREFIX}/bin/test_net"
- command -v "${PREFIX}/bin/train_net"
- command -v "${PREFIX}/bin/upgrade_net_proto_binary"
- command -v "${PREFIX}/bin/upgrade_net_proto_text"
- command -v "${PREFIX}/bin/upgrade_solver_proto_text"
# Test includes.
- test -d "${PREFIX}/include/caffe"
# Test libraries.
- test -f "${PREFIX}/lib/libcaffe.so"
# Run python tests
- py.test python/caffe/test
imports:
- caffe
about:
home: http://caffe.berkeleyvision.org/
license: BSD 2-Clause
summary: A deep learning framework made with expression, speed, and modularity in mind.
extra:
recipe-maintainers:
- jakirkham
- 183amir
- sdvillal (loopbio changes)