cd /project/ai/scratch01/GBuilder
pip install xxx --user
在自己的目录下新建文件夹,将cfg和input.bin放入文件夹下
gvim cfg文件
setenv LD_LIBRARY_PATH /project/ai/scratch01/AIPU_SIMULATOR/lib/:$LD_LIBRARY_PATH
~/.local/bin/aipubuild mobilenet_v2_ssdZ1_0904run.cfg
/project/ai/scratch01/AIPU_SIMULATOR/aipu_simulator_z1
~/.local/bin/aipurun xxx.txt -i input.bin -w xxx.bin --target {target} --simulator {simulator_path}
xxd 查看二进制文件 (大文件用programmming里的beyond compare)
将simulator跑本地的代码
simulator路径:
/project/ai/scratch01/ruolu01/AIPU_simulator_design/build/Debug_5.5.0/bin
在AIPUs_simulator_design里
branch new_arch
在这个branch下
git pull
source env_setup.csh
sim rebuild --solder=1 --config={Z1,Z2}
gvim ~/.cshrc
在 ~/.cshrc里添加setenv LD_LIBRARY_PATH路径,冒号分隔
(path路径下用于存快捷路径以简写使用)
加入路径 /project/ai/scratch01/ruolu01/AIPU_simulator_design/build/Debug_5.5.0/lib
PATH: 可执行程序的查找路径
查看当前环境变量:
echo $PATH
设