Skip to content

Commit b09ac62

Browse files
author
Abdul Dakkak
committed
fixes usage
1 parent fbb5a0f commit b09ac62

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vision/ilsvrc2012_validation.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"strings"
88

99
context "context"
10+
1011
"github.com/Unknwon/com"
1112
"github.com/pkg/errors"
1213
"github.com/rai-project/config"
@@ -37,7 +38,7 @@ type ILSVRC2012ValidationRecordIO struct {
3738
}
3839

3940
type iLSVRC2012ValidationRecordIOLabeledData struct {
40-
*reader.Record
41+
*reader.ImageRecord
4142
}
4243

4344
type recordIoOffset struct {
@@ -189,7 +190,7 @@ func (d *ILSVRC2012ValidationRecordIO) Next(ctx context.Context) (dldataset.Labe
189190
}
190191

191192
return &iLSVRC2012ValidationRecordIOLabeledData{
192-
Record: rec,
193+
ImageRecord: rec,
193194
}, nil
194195
}
195196

0 commit comments

Comments
 (0)