I want to retrain inception module on tiff images. I have followed the steps in https://codelabs.developers.google.com/codelabs/tensorflow-for-poets/#0. However, it seems tiff images are not supported by inception module because I have received the following error
2017-06-22 16:52:56.712653: W tensorflow/core/platform /cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
Looking for images in 'Type 1'
No files found
Looking for images in 'Type 2'
No files found
No valid folders of images found at Myfolder
Is there any way to handle this issue?
You're right in saying that TensorFlow does not support TIFF images.
See here: No Tensorflow decoder for TIFF images?
If you want to use TIFF images, you could use a library like PIL
or Pillow
which can read TIFF images and convert them into a numpy array to feed into TensorFlow.
See Working with TIFFs (import, export) in Python using numpy for an example.
If you have a large amount of TIFF files, the above would make training slow as you will be spending more time reading and decoding TIFF files starving the GPU of data.
In this case, take a look at https://www.tensorflow.org/extend/new_data_formats on how to support custom file formats.