nvdla / sw

NVDLA SW
Other
489 stars 193 forks source link

Compiler sample application Issue (wisdom.dir EMPTY) #180

Open Hassan313 opened 5 years ago

Hassan313 commented 5 years ago

I am trying to use the below command:

./nvdla_compiler [-options] --prototxt --caffemodel -o

I am getting the below messages:

creating new wisdom context... opening wisdom context... parsing caffe network... libnvdla<3> mark prob Marking total 1 outputs initialize all tensors with const scaling factors of 127... attaching parsed network to the wisdom... compiling profile "fast-math"... config "nv_full"... libnvdla<2> Prototxt #chnls (C = 1) != Profile #chnls for input (NVDLA_IMG_A8B8G8R8: C = 4). Preferring #chnls from Profile for compiling. libnvdla<2> Overriding output multibatch size from 1 to 64 closing wisdom context...

،he wisdom.dir is created however it is empty. What should I do to fix the problem?

Thank you very much.

Hassan313 commented 4 years ago

When I also run the below command:

./nvdla_runtime --loadable basic.nvdla --rawdump --image ../digits/six.pgm

on the virtual platform I receive the following error:

VP_Error

Moreover, I am giving an images to the LeNet network and the output.dimg file contains 10 zero, which one of these 10 zeros should be one. Again something seems wrong.

Thank you.

jiangpeng1989 commented 4 years ago

HI, I met the same problem, the wisdom.dir is empty . How did you solve it?

Hassan313 commented 4 years ago

Hi, they did not solve the issue. I am still waiting for their response. I am using the older version of the compiler.

WuDan0399 commented 4 years ago

Same for me. Waiting for any solution to this problem.

Hassan313 commented 4 years ago

@WuDan0399 Hi Wooden. The compiler will not put the results in the specified folder. Instead of the folder, the compiler produces two files in the folder where the NVDLA compiler executable file is. One of the files name is [somename].nvdla and the other one is [somename].protobuf.

Hope this helps.

Jade-Hsu commented 4 years ago

So there is nothing in wisdom directory? Only .nvdla and .protobuf in executable directory?

Hassan313 commented 4 years ago

@Jade-Hsu Yes.

NicolasWu97 commented 3 years ago

Hi, they did not solve the issue. I am still waiting for their response. I am using the older version of the compiler.

So, Did you finally solve the issue? In addition, do you use the pre-build compiler?

Hassan313 commented 3 years ago

@NicolasWu97 Hi Nicolas,

"So, Did you finally solve the issue?" No.

"In addition, do you use the pre-build compiler?" Yes for some of my works.

P.S. Sorry for the late reply.