I'm trying this implementation, but I'm having an error running the command python3 test.py. I never used tensorlayer, so I think I need help.
This is the traceback:
Traceback (most recent call last):
File "test.py", line 48, in <module>
dec_net = decoder.decode(target_features, prefix="decoder/")
File "/home/davide/Documents/Development/AI/adaptive-style-transfer/models.py", line 39, in decode
net = UpSampling2dLayer(net, [2, 2], method=1)
File "/usr/local/lib/python3.6/dist-packages/tensorlayer/layers/convolution.py", line 509, in __init__
size_h = size[0] * int(self.inputs.get_shape()[1])
TypeError: __int__ returned non-int (type NoneType)
I'm using tensorlayer 1.8.1 and tensorflow 1.12.
I'm trying this implementation, but I'm having an error running the command
python3 test.py. I never used tensorlayer, so I think I need help.This is the traceback:
I'm using tensorlayer 1.8.1 and tensorflow 1.12.