1

私の問題に合わせて完全畳み込みネットを微調整しようとしています。次の警告が表示されます。この警告が表示されるのはなぜですか?

     [libprotobuf WARNING google/protobuf/io/coded_stream.cc:505] 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.
4

1 に答える 1

3

2147483647 は、C++ の整数データ型に格納できる最大値です。

Caffe は、.prototxt ファイルをバッファーに読み取り、バッファーからパラメーターを読み取ります。このバッファーは、最大サイズが 2147483647 バイトになるように内部的に定義されています。そのため、.prototxt ファイルが大きすぎると、このバッファーに収まらない可能性があります。そのため、Caffe はこの警告を出して制限を引き上げます。

于 2016-07-27T13:18:17.407 に答える