Skip to content

Reading dangerously large protocol message && Attempting to upgrade input file specified using deprecated V1LayerParameter #4

@machinelv

Description

@machinelv

Background

Board: Jetson Xavier NX (with 8G RAM and 128G SSD)
OS: Ubuntu 18.04.6 LTS

  • NVIDIA Jetson Xavier NX (Developer Kit Version)
    • Jetpack 4.6.1 [L4T 32.7.1]
    • NV Power Mode: MODE_20W_6CORE - Type: 8
    • jetson_stats.service: active
  • Libraries:
    • CUDA: 10.2.300
    • cuDNN: 8.2.1.32
    • TensorRT: 8.2.1.8
    • Visionworks: 1.6.0.501
    • OpenCV: 3.4.3 compiled CUDA: YES
    • VPI: ii libnvvpi1 1.2.3 arm64 NVIDIA Vision Programming Interface library
    • Vulkan: 1.2.70

Problems

When I run run_cudnn.sh command to run vggnet, the program will stop after two warnings.
Here is my output:

[libprotobuf WARNING google/protobuf/io/coded_stream.cc:604] Reading dangerously large protocol message.  If the message turns out to be larger than 2147483647 bytes, parsing will be halted for security reasons.  To increase the limit (or to disable these warnings), see CodedInputStream::SetTotalBytesLimit() in google/protobuf/io/coded_stream.h.
[libprotobuf WARNING google/protobuf/io/coded_stream.cc:81] The total number of bytes read was 574671192
I0512 00:11:41.895918 23203 upgrade_proto.cpp:53] Attempting to upgrade input file specified using deprecated V1LayerParameter: /home/lqz/download/NeuOS/models/vggnet/VGG_ILSVRC_19_layers.caffemodel
./run-cudnn.sh: line 48: 23203 Killed                  LD_PRELOAD="/home/lqz/download/NeuOS/build/lib/libcaffe.so.1.0.0" ./classify.bin $proto $weight /home/lqz/download/NeuOS/data/ilsvrc12/imagenet_mean.binaryproto /home/lqz/download/NeuOS/data/ilsvrc12/synset_words.txt /home/lqz/download/NeuOS/examples/images/cat.jpg 15 25 5 all-AGX.config $uncert $lowrank_proto $lowrank_weight

For two warnings above, I tried to google them but I didn't found any answer that can solve my problems.

Reading dangerously large protocol message

How to change the buffer limit in Google's protobuf?

Attempting to upgrade input file specified using deprecated V1LayerParameter

what-does-attempting-to-upgrade-input-file-specified-using-deprecated-transform

Do you have any idea for my problems? I'd be very grateful if you can help me.

PS: English is not my native language; please excuse typing errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions