cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
468 Views
Registered: ‎08-26-2019

ELF file generation using .prototxt and. caffe model and error during make file

Jump to solution

I am using zedboard (digilent:xc7z020) for DPU TRD

i follw these steps to generate dpu_resnet50_0.elf

first i run: decent-cpu quantize..........prototxt .....  and  .caffemodel

this invoke a folder consisting deploy prototxt and caffemodel

 

then i run a sh file consisting

 

model_dir='quantize_results'
output_dir='dnnc'
dnnc-dpu1.4.0.1 --prototxt=${model_dir}/deploy.prototxt \
--caffemodel=${model_dir}/deploy.caffemodel \
--output_dir=${output_dir} \
--net_name="resnet50" \
--dpu="800FA" \
--mode="debug" \
--cpu_arch="arm64"

which results in a .elf file in my directory as given below

/home/sahoo/ZED_chek_oct18/DNNDK/dnnc/dpu_resnet50_0.elf

 

when i use this for generation of image file by running make command to build the image  then i got follwing error

"/home/sahoo/ZED_chek_oct18/image_creation_resnet50/resnet50/model/dpu_resnet50_0.elf: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
Makefile:75: recipe for target 'resnet50' failed
make: *** [resnet50] Error 1"


"

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Contributor
Contributor
401 Views
Registered: ‎11-18-2012

Try changing the dnnc --cpu_arch option from arm64 to arm32.

View solution in original post

1 Reply
Highlighted
Contributor
Contributor
402 Views
Registered: ‎11-18-2012

Try changing the dnnc --cpu_arch option from arm64 to arm32.

View solution in original post