Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mia
caffe
use-one-parameter-when-calling-SetTotalBytesLim...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File use-one-parameter-when-calling-SetTotalBytesLimit.patch of Package caffe
From 1b317bab3f6413a1b5d87c9d3a300d785a4173f9 Mon Sep 17 00:00:00 2001 From: kr0p07k1n <91276442+kr0p07k1n@users.noreply.github.com> Date: Sun, 28 Nov 2021 19:36:04 -0500 Subject: [PATCH] use one parameter when calling SetTotalBytesLimit --- src/caffe/util/io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/caffe/util/io.cpp b/src/caffe/util/io.cpp index 5295d9dddb9..f71553c9936 100644 --- a/src/caffe/util/io.cpp +++ b/src/caffe/util/io.cpp @@ -54,7 +54,7 @@ bool ReadProtoFromBinaryFile(const char* filename, Message* proto) { CHECK_NE(fd, -1) << "File not found: " << filename; ZeroCopyInputStream* raw_input = new FileInputStream(fd); CodedInputStream* coded_input = new CodedInputStream(raw_input); - coded_input->SetTotalBytesLimit(kProtoReadBytesLimit, 536870912); + coded_input->SetTotalBytesLimit(kProtoReadBytesLimit); bool success = proto->ParseFromCodedStream(coded_input);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor