I change the input img batch to 2 in demo.cc,
but i get the following error.
terminate called after throwing an instance of ‘dmlc::Error’
what(): [18:51:14] ./…/…/src/runtime/ndarray.cc:169: Check failed: from_size == to_size (301056 vs. 150528) : TVMArrayCopyFromTo: The size must exactly match
Stack trace:
[bt] (0) ./a.out() [0x4063f0]
[bt] (1) ./a.out() [0x411070]
[bt] (2) ./a.out() [0x4136c1]
[bt] (3) ./a.out() [0x4189e5]
[bt] (4) ./a.out() [0x4059ec]
[bt] (5) ./a.out() [0x404c76]
[bt] (6) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f6c98974b97]
[bt] (7) ./a.out() [0x404afa]