Hi, In the script there was no option for any other model other than rk3399, I added to the script and tested: hikey, hikey960 , but both fails.Here is what I get:
python3 mobile_gpu_imagenet_bench.py --model hikey960 --rpc-key hikey
Network Name Mean Inference Time (std dev)
Traceback (most recent call last):
File “mobile_gpu_imagenet_bench.py”, line 88, in
evaluate_network(network, target, target_host, args.dtype, args.repeat)
File “mobile_gpu_imagenet_bench.py”, line 44, in evaluate_network
rlib = remote.load_module(filename)
File “/home/omer/devel/git/ext_repos/tvm/python/tvm/rpc/client.py”, line 132, in load_module
return base._LoadRemoteModule(self._sess, path)
File “/home/omer/devel/git/ext_repos/tvm/python/tvm/_ffi/_ctypes/function.py”, line 185, in call
ctypes.byref(ret_val), ctypes.byref(ret_tcode)))
File “/home/omer/devel/git/ext_repos/tvm/python/tvm/_ffi/base.py”, line 72, in check_call
raise TVMError(py_str(_LIB.TVMGetLastError()))
tvm._ffi.base.TVMError: Except caught from RPC call: TVMCall CFunc Error:
Traceback (most recent call last):
File “/home/linaro/devel/git/tvm/python/tvm/_ffi/_ctypes/function.py”, line 55, in cfun
rv = local_pyfunc(*pyargs)
File “/home/linaro/devel/git/tvm/python/tvm/rpc/server.py”, line 50, in load_module
m = _load_module(path)
File “/home/linaro/devel/git/tvm/python/tvm/module.py”, line 241, in load
_cc.create_shared(path + “.so”, files)
File “/home/linaro/devel/git/tvm/python/tvm/contrib/cc.py”, line 33, in create_shared
_linux_shared(output, objects, options, cc)
File “/home/linaro/devel/git/tvm/python/tvm/contrib/cc.py”, line 58, in _linux_shared
raise RuntimeError(msg)
RuntimeError: Compilation error:
/usr/bin/ld: /tmp/tmpw7m7jho8/lib.o: Relocations in generic ELF (EM: 62)
/usr/bin/ld: /tmp/tmpw7m7jho8/lib.o: Relocations in generic ELF (EM: 62)
/tmp/tmpw7m7jho8/lib.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status