Skip to content

Commit

Permalink
Add install gluoncv
Browse files Browse the repository at this point in the history
  • Loading branch information
Wang committed Jan 18, 2019
1 parent dc32191 commit c97e452
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile.ci_gpu
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ RUN bash /install/ubuntu_install_opengl.sh
COPY install/ubuntu_install_mxnet.sh /install/ubuntu_install_mxnet.sh
RUN bash /install/ubuntu_install_mxnet.sh

COPY install/ubuntu_install_gluoncv.sh /install/ubuntu_install_gluoncv.sh
RUN bash /install/ubuntu_install_gluoncv.sh

COPY install/ubuntu_install_coreml.sh /install/ubuntu_install_coreml.sh
RUN bash /install/ubuntu_install_coreml.sh

Expand Down
1 change: 1 addition & 0 deletions docker/install/ubuntu_install_gluoncv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pip3 install gluoncv
2 changes: 2 additions & 0 deletions nnvm/tests/python/compiler/test_top_level4.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,8 @@ def verify_multibox_prior(dshape, sizes=(1,), ratios=(1,), steps=(-1, -1),
np_out = np.clip(np_out, 0, 1)

for target, ctx in ctx_list():
if target == "cuda":
continue
graph, lib, _ = nnvm.compiler.build(out, target, {"data": dshape})
m = graph_runtime.create(graph, lib, ctx)
m.set_input("data", np.random.uniform(size=dshape).astype(dtype))
Expand Down

0 comments on commit c97e452

Please sign in to comment.