7ecfa0792c122b493a7f0ab1052406a126965805,tensorflow_datasets/core/decode/base_test.py,BaseDecodeTest,test_image_custom_decode,#BaseDecodeTest#,32
Before Change
channels=feature.shape[-1],
)
image_path = utils.get_tfds_path("testing/test_data/test_image.jpg")
with tf.io.gfile.GFile(image_path, "rb") as f:
serialized_img = f.read()
self.assertFeature(
After Change
channels=feature.shape[-1],
)
image_path = os.fspath(utils.tfds_path("testing/test_data/test_image.jpg"))
with tf.io.gfile.GFile(image_path, "rb") as f:
serialized_img = f.read()
self.assertFeature(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: tensorflow/datasets
Commit Name: 7ecfa0792c122b493a7f0ab1052406a126965805
Time: 2020-10-16
Author: epot@google.com
File Name: tensorflow_datasets/core/decode/base_test.py
Class Name: BaseDecodeTest
Method Name: test_image_custom_decode
Project Name: tensorflow/datasets
Commit Name: 7ecfa0792c122b493a7f0ab1052406a126965805
Time: 2020-10-16
Author: epot@google.com
File Name: tensorflow_datasets/core/decode/base_test.py
Class Name: BaseDecodeTest
Method Name: test_video_custom_decode
Project Name: tensorflow/datasets
Commit Name: 7ecfa0792c122b493a7f0ab1052406a126965805
Time: 2020-10-16
Author: epot@google.com
File Name: tensorflow_datasets/image_classification/imagenet2012_real.py
Class Name: Imagenet2012Real
Method Name: _get_original_labels