Error message: No node under name gpu_0/data

Yilinz: <p>I am a beginner and I was trying to use model-compiler to get the LLVM IR code.<br>
here is my commond</p>
<p>./model-compiler --backend=CPU --model=/home/…/…/build_Debug/examples/bundles/resnet50/resnet50 -emit-bundle=build</p>
<p>The following are output</p>
<p>WARNING: Logging before InitGoogleLogging() is written to STDERR<br>
F1016 00:45:17.236379  7420 Error.cpp:123] exitOnError(Error) got an unexpected ErrorValue:<br>
Error message: No node under name gpu_0/data</p>
<h2>
<a name="error-return-stack-1" class="anchor" href="#error-return-stack-1"></a>Error return stack:</h2>
<h2>
<a name="homeyinixee554glowlibimporterprotobufloadercpp175-2" class="anchor" href="#homeyinixee554glowlibimporterprotobufloadercpp175-2"></a>/home/yinix/EE554/glow/lib/Importer/ProtobufLoader.cpp:175</h2>
<h2>
<a name="homeyinixee554glowlibimportercaffe2modelloadercpp445-3" class="anchor" href="#homeyinixee554glowlibimportercaffe2modelloadercpp445-3"></a>/home/yinix/EE554/glow/lib/Importer/Caffe2ModelLoader.cpp:445</h2>
<h2>
<a name="homeyinixee554glowlibimportercaffe2modelloadercpp2405-4" class="anchor" href="#homeyinixee554glowlibimportercaffe2modelloadercpp2405-4"></a>/home/yinix/EE554/glow/lib/Importer/Caffe2ModelLoader.cpp:2405</h2>
<h2>
<a name="homeyinixee554glowlibimportercaffe2modelloadercpp2964-5" class="anchor" href="#homeyinixee554glowlibimportercaffe2modelloadercpp2964-5"></a>/home/yinix/EE554/glow/lib/Importer/Caffe2ModelLoader.cpp:2964</h2>
<h2>
<a name="homeyinixee554glowlibimportercaffe2modelloadercpp2981-6" class="anchor" href="#homeyinixee554glowlibimportercaffe2modelloadercpp2981-6"></a>/home/yinix/EE554/glow/lib/Importer/Caffe2ModelLoader.cpp:2981</h2>
<p>*** Check failure stack trace: ***<br>
./model-compiler[0xc33f3f]<br>
./model-compiler[0xc321c2]<br>
./model-compiler[0xc34345]<br>
/lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7fc67fc9f420]<br>
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fc67f78e00b]<br>
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fc67f76d859]<br>
/lib/x86_64-linux-gnu/libglog.so.0(+0x9e4c)[0x7fc680721e4c]<br>
/lib/x86_64-linux-gnu/libglog.so.0(+0xd1c3)[0x7fc6807251c3]<br>
/lib/x86_64-linux-gnu/libglog.so.0(_ZN6google10LogMessage9SendToLogEv+0x26b)[0x7fc68072a25b]<br>
/lib/x86_64-linux-gnu/libglog.so.0(_ZN6google10LogMessage5FlushEv+0xbf)[0x7fc680724ebf]<br>
/lib/x86_64-linux-gnu/libglog.so.0(_ZN6google15LogMessageFatalD2Ev+0xf)[0x7fc6807256ef]<br>
./model-compiler[0x2bc64ba]<br>
./model-compiler[0x7df01c]<br>
./model-compiler[0x4b131e]<br>
./model-compiler[0x4f0470]<br>
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fc67f76f083]<br>
./model-compiler[0x4b0bfe]<br>
zsh: abort      ./model-compiler --backend=CPU  -emit-bundle=build</p>
<p>Then I read for several posts about what is “model-input”. It is said to be where the input will be stored and will be shown in the protobuf file of the model.  Then I checked for the predict_net.pb file in /home/…/…/build_Debug/examples/bundles/resnet50/resnet50. It shows that my first operator is indeed gpu_0/data.</p>
<p>Here are the first few lines of predict_net.pb shown in vim</p>
<p>^Hresnet50^Rd</p>
<p>gpu_0/data<br>
^Mgpu_0/conv1_w^R^Kgpu_0/conv1^Z^@"^DConv*</p>
<p>^Fkernel^X^G*^G<br>
^Cpad^X^C*^M<br>
^Eorder"^DNCHW*</p>
<p>^Fstride^X^B2^@:^@^R¹^A<br>
^Kgpu_0/conv1<br>
^Tgpu_0/res_conv1_bn_s<br>
^Tgpu_0/res_conv1_bn_b<br>
^Ugpu_0/res_conv1_bn_rm</p>
<p>Where can I find more information about my problem? What configurations should I check to solve this issue?</p>

Yilinz: <p>I rebuild the whole project and then problem solved.</p>

Yilinz: <p>I change from zsh to bash. I think that zsh has problem accepting the shape as an argument.</p>