2021-03-24 12:08:59.689159: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
Traceback (most recent call last):
File "style.py", line 167, in <module>
main()
File "style.py", line 117, in main
style_target = get_img(options.style)
File "src/utils.py", line 18, in get_img
img = imageio.imread(src, pilmode='RGB') # misc.imresize(, (256, 256, 3))
File "/scratch/moldach/fst/tensorflow/lib/python3.8/site-packages/imageio/core/functions.py", line 185, in imread
reader = read(uri, format, 'i', **kwargs)
File "/scratch/moldach/fst/tensorflow/lib/python3.8/site-packages/imageio/core/functions.py", line 111, in get_reader
return format.get_reader(request)
File "/scratch/moldach/fst/tensorflow/lib/python3.8/site-packages/imageio/core/format.py", line 169, in get_reader
return self.Reader(self, request)
File "/scratch/moldach/fst/tensorflow/lib/python3.8/site-packages/imageio/core/format.py", line 218, in __init__
self._open(**self.request.kwargs.copy())
TypeError: _open() got an unexpected keyword argument 'pilmode'
~
I'm getting the following error:
From this
style.py
:And this
tensorflow
environment looks like:pip freez
:The input file is here