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):


 "/home/pavel/python/deepchem-interp/pred.py", line 31, in <module>

pred = m_imb.predict(dataset)


 "/home/pavel/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/keras_model.py", line 711, in predict

return self.predict_on_generator(generator, transformers, outputs)


 "/home/pavel/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/keras_model.py", line 634, in predict_on_generator

return self._predict(generator, transformers, outputs, False)


 "/home/pavel/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/keras_model.py", line 544, in _predict

for batch in generator:


 "/home/pavel/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/graph_models.py", line 637, in default_generator

y_b = to_one_hot(y_b.flatten(), self.n_classes).reshape(
AttributeError: 'NoneType' object has no attribute 'flatten'
