deepchem / deepchem

Democratizing Deep-Learning for Drug Discovery, Quantum Chemistry, Materials Science and Biology
https://deepchem.io/
MIT License
5.49k stars 1.68k forks source link

'module 'deepchem.models' has no attribute 'TensorflowMultiTaskRegressor' #1315

Closed sandeepbii closed 6 years ago

sandeepbii commented 6 years ago

I have installed deepchem2.0.0 using conda install. I am tying to run the Solubility model from the deepchem tutorials. However I am getting the error 'module 'deepchem.models' has no attribute 'TensorflowMultiTaskRegressor'

I looked into the models directory and could not see the TensorflowMultiTaskRegressor model. I am not sure what to do. As I said I am quite new. Any help will be great.

Thanks Sandeep

rbharath commented 6 years ago

I think this example was broken previously. I'd recommend upgrading to HEAD. We've fixed all example recently so should run. (As a warning, HEAD may cause issues on Macs though)

sandeepbii commented 6 years ago

Thanks. I have installed deepchem from source as explained in the website. I still have the problem with TensorFlowMultiTaskRegressor.

What does upgrading to HEAD mean? I am not sure if I understand that.

peastman commented 6 years ago

There's no such class as TensorFlowMultiTaskRegressor anymore. In the current version of the source, it's been renamed to MultitaskRegressor.

sandeepbii commented 6 years ago

Thanks very much for your help.