nvdla / sw

NVDLA SW
Other
489 stars 193 forks source link

Compiling ResNet-50 for nv_full #234

Open dreamerliii opened 2 years ago

dreamerliii commented 2 years ago

Hi! I got an error when using nvdla_runtime

1.

./nvdla_runtime --loadable fast-math.nvdla --image 2_inv.pgm --rawdump

creating new runtime context... Emulator starting pgm2dimg 1 28 28 1 896 0 200704 (DLA_TEST) Error 0x00000004: Mismatched width: 28 != 224 (in TestUtils.cpp, function createImageCopy(), line 156) (DLA_TEST) Error 0x00000004: (propagating from RuntimeTest.cpp, function copyImageToInputTensor(), line 104) (DLA_TEST) Error 0x00000004: (propagating from RuntimeTest.cpp, function setupInputBuffer(), line 163) (DLA_TEST) Error 0x00000004: (propagating from RuntimeTest.cpp, function runTest(), line 391) (DLA_TEST) Error 0x00000004: (propagating from RuntimeTest.cpp, function run(), line 450) Shutdown signal received, exiting (DLA_TEST) Error 0x00000004: (propagating from main.cpp, function launchTest(), line 87)

2. I also have a question when using lenet. When using lenet from docker, I got right answer, like 0 0 1 0 0 0 0 0 0 0, but when I using lenet on my onw computer, I can just 0. What's more, after I added --calibtable file when I build the loadable file, I got the answer like 0 0 120 0 0 0 0 0 0 0.. Why??

Could you please help me, Thanks!