Closed Yuxin-Yu closed 1 year ago
I found the ResNet-50-model.caffmodel file from other places, but when I ran the script, there was the following error:
(base) yyx@yyx-virtual-machine:~/riscv/projects/chipyard/software/nvdla-workload/models$ ./run_resnet50_nvdla_compile.sh make: Entering directory '/home/yyx/riscv/projects/chipyard/software/nvdla-workload/nvdla-base/nvdla-sw/umd' for dir in core/src/compiler apps/compiler; do \ make -C $dir; \ done make[1]: Entering directory '/home/yyx/riscv/projects/chipyard/software/nvdla-workload/nvdla-base/nvdla-sw/umd/core/src/compiler' MODULE_CC gcc make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/yyx/riscv/projects/chipyard/software/nvdla-workload/nvdla-base/nvdla-sw/umd/core/src/compiler' make[1]: Entering directory '/home/yyx/riscv/projects/chipyard/software/nvdla-workload/nvdla-base/nvdla-sw/umd/apps/compiler' MODULE_CC gcc make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/yyx/riscv/projects/chipyard/software/nvdla-workload/nvdla-base/nvdla-sw/umd/apps/compiler' make: Leaving directory '/home/yyx/riscv/projects/chipyard/software/nvdla-workload/nvdla-base/nvdla-sw/umd' fatal: destination path '/home/yyx/riscv/projects/chipyard/software/nvdla-workload/models/../models/imagenet/deep-residual-networks' already exists and is not an empty directory. creating new wisdom context... opening wisdom context... libnvdla<1> a path is needed to open a wisdom container (DLA) Error 0x00000004: wisdom->open() failed to open: "/home/yyx/riscv/projects/chipyard/software/nvdla-workload/models/../modelswisdom.dir/" (in ParseTest.cpp, function parseAndCompile(), line 243) (DLA) Error 0x00000004: (propagating from main.cpp, function launchTest(), line 111)
Is this caused by the wrong model ?
The source file of the ResNet-50 model mentioned in the models folder Readme is invalid. How can I find a replacement source file?