We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbb5a0f commit b09ac62Copy full SHA for b09ac62
vision/ilsvrc2012_validation.go
@@ -7,6 +7,7 @@ import (
7
"strings"
8
9
context "context"
10
+
11
"github.com/Unknwon/com"
12
"github.com/pkg/errors"
13
"github.com/rai-project/config"
@@ -37,7 +38,7 @@ type ILSVRC2012ValidationRecordIO struct {
37
38
}
39
40
type iLSVRC2012ValidationRecordIOLabeledData struct {
- *reader.Record
41
+ *reader.ImageRecord
42
43
44
type recordIoOffset struct {
@@ -189,7 +190,7 @@ func (d *ILSVRC2012ValidationRecordIO) Next(ctx context.Context) (dldataset.Labe
189
190
191
192
return &iLSVRC2012ValidationRecordIOLabeledData{
- Record: rec,
193
+ ImageRecord: rec,
194
}, nil
195
196
0 commit comments