0

我正在尝试从此处的 nvidia 存储库运行教程代码。 以下是我的 Jetson TX2 上的控制台 imagenet 程序发生的情况:

    nvidia@tegra-ubuntu:~/jetson-inference/build/aarch64/bin$ ./imagenet-console orange_0.pjg output_0.jpg
imagenet-console
  args (3):  0 [./imagenet-console]  1 [orange_0.pjg]  2 [output_0.jpg]  


imageNet -- loading classification network model from:
         -- prototxt     networks/googlenet.prototxt
         -- model        networks/bvlc_googlenet.caffemodel
         -- class_labels networks/ilsvrc12_synset_words.txt
         -- input_blob   'data'
         -- output_blob  'prob'
         -- batch_size   2

[TRT]  TensorRT version 4.0.2
[TRT]  attempting to open cache file networks/bvlc_googlenet.caffemodel.2.tensorcache
[TRT]  cache file not found, profiling network model
[TRT]  platform has FP16 support.
[TRT]  loading networks/googlenet.prototxt networks/bvlc_googlenet.caffemodel
Weights for layer conv1/7x7_s2 doesn't exist
[TRT]  CaffeParser: ERROR: Attempting to access NULL weights
Weights for layer conv1/7x7_s2 doesn't exist
[TRT]  CaffeParser: ERROR: Attempting to access NULL weights
[TRT]  Parameter check failed at: ../builder/Network.cpp::addConvolution::40, condition: kernelWeights.values != NULL
error parsing layer type Convolution index 1
[TRT]  failed to parse caffe network
failed to load networks/bvlc_googlenet.caffemodel
failed to load networks/bvlc_googlenet.caffemodel
imageNet -- failed to initialize.
imagenet-console:   failed to initialize imageNet

我没有在 Jetson 板上安装 Caffe,因为教程明确指出不需要它。如果 TRT 可以正确缓存,我不确定是否会修复空权重错误。有任何想法吗?

  • 蟒蛇 2.7
  • 库达 9.0
  • 张量RT 4.0
4

1 回答 1

0

公司防火墙阻止了模型的正确下载。手动下载模型并将它们放在网络文件夹中解决了这个问题。

于 2018-11-02T13:57:51.520 回答