Closed ferin08 closed 6 years ago
? I do not understand your question clearly.
Its okay now, the problem has been solved. I used DIGITS and got the output model files in the form of prototxt and I used that in the complier and got the basic.nvdla loadable file for the runtime test application. I have loaded the file and currently waiting for the results.
running Lenet-5 on nvdla VP takes a very short time, just a few mins.
How do we use '-s' to "launch test in server mode"?
We used LeNet model. Also, I tested a few images using --rawdump. But the output in output.dimg isn't changing (It the same output as the first time). I am removing the file before testing each time. Is there something that I am missing?
you shall include image file. .jpg format is ok for me. and the rawdump indicates 0-9. Junning Wu Email:wujunning11@gmail.com Signature is customized by Netease Mail Master On 06/22/2018 10:55, ferin08 wrote: What is to be expected after: ./nvdla_runtime --loadable basic.nvdla command returns "Test pass"? How do we run a test example on it? Please let me know if there is documentation for this — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Yeah, I tried a jpeg file. It still somehow remembers the first output. It's displaying only that. How do I get rid of it?
Do you know anyway I could fix this issue?
I tested a few images using --rawdump. (tried both jpeg and png) But the output in output.dimg isn't changing (It the same output as the first time).
can you list your full command list and your model, test image. in my case, i can run lenet-5 from Berkely very well.
or you can use the pre-built loadable file firstly.
I used DIGITS to get our Lenet model outputs. In that they use the MNIST database to train as shown in this link below: https://github.com/NVIDIA/DIGITS/blob/master/docs/GettingStarted.md
@ferin08 have you solved your problem? Here is what I have done to get the expected result:
# ./nvdla_runtime --loadable lenet-20180426.nvdla --image nums_jpg/img_3.jpg
--rawdump
creating new runtime context...
Emulator starting
surface format: 0
dlaimg height: 28 x 28 x 1: LS: 32 SS: 0 Size: 896
submitting tasks...
[ 199.072512] Enter:dla_read_network_config
# cat output.dimg
0 5.96046e-08 5.96046e-07 2.50936e-05 9.11951e-06 4.17233e-07 0 2.98023e-06 3.70741e-05 1 #
#
We were trying jpeg and .png files instead of .jpg and .pgm files which is why we were not getting the right output. Now everything works fine! Thank You!
[ 2212.159561] Exit:dla_handle_events, ret:0 The process can't continue.
Hi,
Can anyone help me by shredding some light of how the output files generated by DIGITS can be used by NVDLA.
Thanks.