Traceback (most recent call last):


 "/home/user01/anaconda2/envs/tensorflow/lib/python2.7/threading.py", line 801, in __bootstrap_inner

self.run()


 "/home/user01/anaconda2/envs/tensorflow/lib/python2.7/threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "/home/user01/SRGAN-master/tensorlayer/prepro.py", line 87, in apply_fn

results[i] = fn(data, **kwargs)


 "/home/user01/SRGAN-master/utils.py", line 24, in downsample_fn

x = imresize(x, size=[96, 96], interp='bicubic', mode=None)


 "/home/user01/SRGAN-master/tensorlayer/prepro.py", line 834, in imresize

if x.shape[-1] == 1:
AttributeError: 'NoneType' object has no attribute 'shape'

Traceback (most recent call last):


 "examples/openai_gym.py", line 121, in <module>

main()


 "examples/openai_gym.py", line 112, in main

runner.run(args.episodes, args.max_timesteps, episode_finished=episode_finished)


 "/home/egor/Software/tensorforce/tensorforce/execution/runner.py", line 158, in run

self.agent.save_model(self.save_path)


 "/home/egor/Software/tensorforce/tensorforce/agents/agent.py", line 238, in save_model

self.model.save_model(path)


 "/home/egor/Software/tensorforce/tensorforce/models/model.py", line 274, in save_model

self.saver.save(self.session, path)
AttributeError: 'NoneType' object has no attribute 'save'
