python_for_microscopists icon indicating copy to clipboard operation
python_for_microscopists copied to clipboard

255_256_SRGAN - Conditionally set he image data format to channels_last

Open donatoaz opened this issue 2 years ago • 0 comments

On my configuration with versions:

TF version: 2.10.0
Keras version: 2.10.0

I had to make this simple change in order to have this notebook work. Otherwise, creating the VGG19 model would fail indicating that the channel was incorrectly positioned.

I would even argue that perhaps this configuration should not be commented, but I'll leave it to you to decide. Let me know if I should change.

donatoaz avatar Feb 01 '23 19:02 donatoaz