Traceback (most recent call last):



 "<ipython-input-65-e33e2cfa9d4a>", line 1, in <module>

predicted_solubility = model.predict_on_batch(x)



 "/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/tensor_graph.py", line 490, in predict_on_batch

return self.predict_on_generator(generator, transformers, outputs)



 "/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/models/text_cnn.py", line 275, in predict_on_generator

generator, transformers=[], outputs=outputs)



 "/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/tensor_graph.py", line 472, in predict_on_generator

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



 "/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/tensor_graph.py", line 420, in _predict

for feed_dict in self._create_feed_dicts(generator, uncertainty):



 "/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/tensor_graph.py", line 1071, in _create_feed_dicts

for d in generator:



 "/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/models/text_cnn.py", line 244, in default_generator

smiles_seqs = [self.smiles_to_seq(smiles) for smiles in ids_b]



 "/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/models/text_cnn.py", line 244, in <listcomp>

smiles_seqs = [self.smiles_to_seq(smiles) for smiles in ids_b]



 "/home/rod/anaconda3/envs/deepchem/lib/python3.6/site-packages/deepchem/models/tensorgraph/models/text_cnn.py", line 251, in smiles_to_seq

smiles_len = len(smiles)

TypeError: object of type 'int' has no len()

Traceback (most recent call last):


 "examples/text-pair/glove_mwe_multipool_siamese.py", line 216, in <module>

plac.call(main)


 "/Users/user/anaconda2/envs/py3/lib/python3.6/site-packages/plac_core.py", line 328, in call

cmd, result = parser.consume(arglist)


 "/Users/user/anaconda2/envs/py3/lib/python3.6/site-packages/plac_core.py", line 207, in consume

return cmd, self.func(*(args + varargs + extraopts), **kwargs)


 "examples/text-pair/glove_mwe_multipool_siamese.py", line 155, in main

>> Residual(Maxout(width*2, pieces=pieces)**2)


 "/Users/user/anaconda2/envs/py3/lib/python3.6/site-packages/thinc/neural/_classes/resnet.py", line 68, in __init__

self.Block(width, width, name='rb1-%s' % self.name, **kwargs),


 "/Users/user/anaconda2/envs/py3/lib/python3.6/site-packages/thinc/neural/_classes/resnet.py", line 26, in __init__

BatchNorm(name='%s-bn1' % self.name),
TypeError: __init__() missing 1 required positional argument: 'child'
