I tried to freeze the graph on GPU server but still have this error warning:
only support NCHW convolution on mali
Loading
Loading Done
Compiling
Traceback (most recent call last):
File "convert_net_1.py", line 52, in <module>
convert(nnvm_net, nnvm_params, (1,513, 513, 3) ,'float32','llvm --system-lib -target=aarch64-linux-gnu -mattr=+neon')
File "convert_net_1.py", line 24, in convert
dtype=dtype, target_host=target_host)
File "/root/.local/lib/python2.7/site-packages/nnvm-0.8.0-py2.7.egg/nnvm/compiler/build_module.py", line 294, in build
graph = graph.apply("GraphFusePartition").apply("GraphFuseCompile")
File "/root/.local/lib/python2.7/site-packages/nnvm-0.8.0-py2.7.egg/nnvm/graph.py", line 234, in apply
check_call(_LIB.NNGraphApplyPasses(self.handle, npass, cpass, ctypes.byref(ghandle)))
File "/root/.local/lib/python2.7/site-packages/nnvm-0.8.0-py2.7.egg/nnvm/_base.py", line 75, in check_call
raise NNVMError(py_str(_LIB.NNGetLastError()))
nnvm._base.NNVMError: TVMCall CFunc Error:
Traceback (most recent call last):
File "/root/.local/lib/python2.7/site-packages/tvm-0.4.0-py2.7-linux-x86_64.egg/tvm/_ffi/_ctypes/function.py", line 54, in cfun
rv = local_pyfunc(*pyargs)
File "/root/.local/lib/python2.7/site-packages/nnvm-0.8.0-py2.7.egg/nnvm/top/nn.py", line 106, in compute_conv2d
inputs[0], kernel, strides, padding, layout, out_dtype=out_dtype)
File "<decorator-gen-35>", line 2, in conv2d
File "/root/.local/lib/python2.7/site-packages/tvm-0.4.0-py2.7-linux-x86_64.egg/tvm/target.py", line 345, in dispatch_func
return dispatch_dict[k](*args, **kwargs)
File "/root/.local/lib/python2.7/site-packages/topi-0.4.0-py2.7.egg/topi/mali/conv2d.py", line 110, in decl_conv2d
assert layout == 'NCHW', "only support NCHW convolution on mali"
AssertionError: only support NCHW convolution on mali