Xilinx / Vitis-AI-Tutorials

MIT License
360 stars 145 forks source link

[Keras-GoogleNet-ResNet] compile_target.sh #9

Open bebettersp opened 3 years ago

bebettersp commented 3 years ago

hey I'd like to ask something.. I check out this tutorial and found out something to strange in compile_target.sh

copy file to same file... is that right? please check.. help me!!

CNN=miniResNet

compile the executable for target board

top5

cp ./src/top5_tf_main.cc ./tfmain.cc cp ./model/dpu${CNN}0.elf ./model/dpu${CNN}0.elf make clean make mv ./${CNN} ./top5${CNN}

fps

cp ./src/fps_tf_main.cc ./tfmain.cc cp ./model/dpu${CNN}0.elf ./model/dpu${CNN}0.elf make clean make mv ./${CNN} ./fps${CNN}

~
~