Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Train, Test and Val TFRecords files partitions always created #16

@jmarrietar

Description

@jmarrietar

Describe the bug
Train, Test and Val TFRecords files always created even if I only specify TRAIN on CSV file

To Reproduce
Change Split to only TRAIN

split,image_uri,label
TRAIN,../tfrecorder/test_data/images/cat/cat-640x853-1.jpg,cat
TRAIN,../tfrecorder/test_data/images/cat/cat-800x600-2.jpg,cat
TRAIN,../tfrecorder/test_data/images/cat/cat-800x600-3.jpg,cat
TRAIN,../tfrecorder/test_data/images/goat/goat-640x640-1.jpg,goat
TRAIN,../tfrecorder/test_data/images/goat/goat-320x320-2.jpg,goat
TRAIN,../tfrecorder/test_data/images/goat/goat-640x427-3.jpg,goat

Expected behavior
Only create a partitions for TRAIN TFRecords

Screenshots
Screen Shot 2020-08-13 at 10 31 50 PM

System (please complete the following information):

  • OS: [ iOS]
  • Python Version: [3.7.4]
  • TensorFlow Version: [2.2.0]

Additional context
Not sure if this a Bug or this indeed is expected behavior. But as a user If my CSV partitions file only specified TRAIN is strange to create the other files (test and val) are also created, but without images.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions