!503 The num_samples and numRows in schema for TFRecordDataset are conflict
Merge pull request !503 from qianlong21st/fix_numRows_num_samplespull/503/MERGE
commit
6b0ff88b1c
@ -0,0 +1,45 @@
|
||||
{
|
||||
"datasetType": "TF",
|
||||
"columns": {
|
||||
"col_sint16": {
|
||||
"type": "int16",
|
||||
"rank": 1,
|
||||
"shape": [1]
|
||||
},
|
||||
"col_sint32": {
|
||||
"type": "int32",
|
||||
"rank": 1,
|
||||
"shape": [1]
|
||||
},
|
||||
"col_sint64": {
|
||||
"type": "int64",
|
||||
"rank": 1,
|
||||
"shape": [1]
|
||||
},
|
||||
"col_float": {
|
||||
"type": "float32",
|
||||
"rank": 1,
|
||||
"shape": [1]
|
||||
},
|
||||
"col_1d": {
|
||||
"type": "int64",
|
||||
"rank": 1,
|
||||
"shape": [2]
|
||||
},
|
||||
"col_2d": {
|
||||
"type": "int64",
|
||||
"rank": 2,
|
||||
"shape": [2, 2]
|
||||
},
|
||||
"col_3d": {
|
||||
"type": "int64",
|
||||
"rank": 3,
|
||||
"shape": [2, 2, 2]
|
||||
},
|
||||
"col_binary": {
|
||||
"type": "uint8",
|
||||
"rank": 1,
|
||||
"shape": [1]
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{
|
||||
"datasetType": "TF",
|
||||
"columns": {
|
||||
"image": {
|
||||
"type": "uint8",
|
||||
"rank": 1,
|
||||
"t_impl": "cvmat"
|
||||
},
|
||||
"label" : {
|
||||
"type": "uint64",
|
||||
"rank": 1,
|
||||
"t_impl": "flex"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue