Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Bharath Ramsundar
    @rbharath
    @Abdulk084 Yes, weave is a type of graph conv, but the internals are quite different. I recommend checking out Google's paper to learn more
    @jthiels_gitlab This one is new to me. Can you check which version of deepchem/tensorflow you're on?
    John Thiels
    @jthiels
    @rbharath The deepchem was the master branch built from source; tensorflow updated to 2.0, python 3.5 (as per the deepchem install script) I kept running into other TF errors running deepchem with earlier versions of TF as well, specifically mentioning AutoGraph
    John Thiels
    @jthiels
    I am working in a singularity container sandbox with Ubuntu 18.04, have tried with Anaconda and Miniconda, in conda, from source, etc, and there seem to be constant issues with the nosetests...listed in the github repo--if I try the latest deepchem release and tensorflow 2.0 and python 3.7, will that give me a better chance at it working?
    abanerjee10
    @abanerjee10_gitlab
    I have built the graph conv model from https://github.com/deepchem/deepchem/blob/master/examples/notebooks/graph_convolutional_networks_for_tox21.ipynb, and I am trying to call compute_saliency and predict on it. However, I am not able to figure out what input to pass into the methods?
    abanerjee10
    @abanerjee10_gitlab
    More specifically, I thought that the dataset that I got in the tutorial from calling load_tox21 with the GraphConv featurizer would be correct input, but passing them in results in the error "float() argument must be a string or a number, not 'ConvMol'." I am using deepchem 2.3
    Bharath Ramsundar
    @rbharath
    @abanerjee10_gitlab Could you raise an issue on github with a minimal failing example?
    abanerjee10
    @abanerjee10_gitlab
    @rbharath done. I have raised an issue at deepchem/deepchem#1706
    Christian Stemmle
    @chstem
    Hi, what is the recommended way to install deepchem? I tried running conda install -c deepchem deepchem=2.1.0 python=3.6 as the website suggests, but I get a long list of conflicts. In a new conda environment using conda 4.7.12.
    Bharath Ramsundar
    @rbharath
    Ack looks like the website build failed so we have an old command still
    Try conda install -c deepchem -c rdkit -c conda-forge -c omnia deepchem=2.3.0
    I'll try to take a look at the website to see what's happening there
    Christian Stemmle
    @chstem
    @rbharath thank you, this works.
    are there any plans to support a more recent version of tensorflow?
    Bharath Ramsundar
    @rbharath
    Yes, the latest version 2.3 is up to TF 1.14
    We're working on the upgrade to TF 2 right now
    DeepChem's next release should be on TF 2, but this will take a bit of work (moving everything over to eager mode)
    yuanjames
    @yuanjames
    Hi, Could I ask where I can find the details of the database?
    abanerjee10
    @abanerjee10_gitlab
    Is it possible to change the weights of classes when training deepchem models? Is there a tutorial or method for doing this?
    genesistutorials
    @genesistutorials

    Studying Chemistry Opens Doors to a Range of Sectors and Opportunities
    Chemistry careers in research
    Chemistry careers in chemical engineering
    Chemistry careers in healthcare
    Chemistry careers in pharmaceuticals
    Chemistry careers in the public sector

    Join for JAM in Chemistry, CSIR-UGC-NET/JRF in Chemical Science & GATE in Chemistry. #CSIR_DECEMBER_2019 #GATE_2020 & #JAM_2020_EXAM in Chemistry.
    Contact for Regular & Weekend Both. Book Your seat.
    http://www.genesis-tutorials.com/
    Contact: 08171000425, 07252022576
    Email: info@genesis-tutorials.com

    CSIR_NETCoaching #GATE_Coaching #JAM_Coaching #JRF_Coaching #Smart_Classes #Knowledge #career_in_chemistry #Chemical_Science #Genesis_Tutorials #Build_Your_Career #Modern_Educator #Change_the_World #Keep_Learning

    Christian Stemmle
    @chstem
    about the tox21 tutorial: is there somewhere an explanation what the GraphGather layer actually does?
    vincenzodentamaro
    @vincenzodentamaro
    Hi all, I am a PhD student in pattern recognition in healthcare from University of Bari "Aldo Moro" Italy. I bought the book Deep Learning for the Life Sciences, but I am missing some major background knowledge in coputational chemistry. My specialization is Machine Learning, which is what I know, but not chemistry at this level.
    Can you please provide me some book or link where I can quickly catch up with terminology and understand why using these computational models?
    Thanks
    Jan H. Jensen
    @jhjensen2
    vincenzodentamaro
    @vincenzodentamaro
    thanks
    I am new to this and would like to learn
    Jan H. Jensen
    @jhjensen2
    The last two videos on this page might also be useful https://sites.google.com/view/ml-basics/convolution
    Bharath Ramsundar
    @rbharath
    @chstem The graph gather basically gathers the local atomic feature vectors from each atom and constructs a molecule-wide feature vector for the full molecule
    Iirc, it might just be summing the feature vectors, but I can't say off the top of my head
    @abanerjee10_gitlab I think the way you could do this would be to change the weights on the dataset after each epoch. There's not a tutorial on doing this, but given a Dataset object dataset, you need to alter dataset.w to have the new weights desired
    Tim Komm
    @TimKomm_twitter

    Hi I dont know if that is the correct spot to post this. But the tutorials on the deepchem (not github) website are not update to date for the GCN Tox21 code.

    Greetings Janosch

    しゃお
    @Jinniuzuo_dier_twitter

    Hi, I don't know it is correct to ask this here, but I want to know this.
    I want to execute this import, but I cannot import because of ModuleNotFoundError.

    import numpy as np
    import tensorflow as tf
    import deepchem as dc
    from deepchem.models.tensorgraph.models.graph_models import GraphConvModel

    error message is below

    ModuleNotFoundError                       Traceback (most recent call last)
    <ipython-input-27-a971180d73d7> in <module>
          2 import tensorflow as tf
          3 import deepchem as dc
    ----> 4 from deepchem.models.tensorgraph.models.graph_models import GraphConvModel
    
    ModuleNotFoundError: No module named 'deepchem.models.tensorgraph.models.graph_models'

    Could you please give me help?
    Thank you.

    Christian Stemmle
    @chstem
    @Jinniuzuo_dier_twitter apparently the website is not up-to-date with the library. Use from deepchem.models.graph_models import GraphConvModel instead
    しゃお
    @Jinniuzuo_dier_twitter
    @chstem san, thank you for confirmation and reply! I will try to import
    from deepchem.models.graph_models import GraphConvModel
    Jan H. Jensen
    @jhjensen2
    @OsmanXafar_twitter The solution is to use deepchem-gpu=2.3.0. I have updated the notebook
    ad05bzag
    @ad05bzag

    Hi, I installed Deepchem using
    !conda install -y -c deepchem -c rdkit -c conda-forge -c omnia deepchem-gpu=2.3.0
    Now i m trying to do seq2seq tutorial. I am getting stuck at creating the deepchem.models.Seq2Seq. It gets created with the following error:
    WARNING:tensorflow:Entity <bound method Stack.call of <deepchem.models.layers.Stack object at 0x7fb693186750>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method Stack.call of <deepchem.models.layers.Stack object at 0x7fb693186750>>: AssertionError: Bad argument number for Name: 3, expecting 4

    created model does not have any params, so
    model.get_params() = {'annealing_final_step': None, 'annealing_start_step': None, 'decoder_layers': None, 'dropout': None, 'embedding_dimension': None, 'encoder_layers': None, 'input_tokens': None, 'max_output_length': None, 'output_tokens': None, 'reverse_input': None, 'variational': None}

    tf version
    tf.__version__ = 1.14.0
    deepchem version
    dc.__version__ = 2.3.0
    Johannes Zuegg
    @JZuegg
    Hi, I am starting to use DeepChem, after 1 year break, and I am trying to run some old scripts (dc 2.1 I guess) in the current dc 2.3.0 version.
    Specifically, I am trying to run a model=dc.models.MultitaskClassifier, which I gather is now a KerasModel class ...
    model.fit() works fine, but model.save() raises an error NotImplemented.
    How does the saving and reloading of models work in dc2.3?
    In the 'old' version, model.save created a 'model.pickle' file, which could be checked if a model was present in a certain folder, before .load_from_dir(model_dir). What is the best way now to check if a folder has a 'finished' trained model, as the folder contains now only the checkpoint files....
    Is there an example for saving/reloading a model? deepchem/models/tests/tes_reload.py has model.save() in it... or do I use the 'wrong' Multitask Classifier?
    Tim Komm
    @TimKomm_twitter
    I have a question regarding the Scaffoldsplitter
    How can I load the tox21 dataset and split according to the scaffold splitter
    test-user-18
    @test-user-18

    Hello, I just started using deepchem since our lab is doing the same kind of research of deephERG. deephERG is using deepchem, and I am trying to run their script, but I got stuck with an error.
    https://github.com/ChengF-Lab/deephERG/blob/master/deephERG.py

    The error I am getting is as follows:

    AttributeError: module 'deepchem.models' has no attribute 'TensorflowMultiTaskClassifier'

    I am using deepchem 2.1.0, but it looks like this code was written with deepchem 1.3.1.
    https://deepchem.io/docs/1.3.1/deepchem.models.tensorflow_models.html#deepchem.models.tensorflow_models.fcnet.TensorflowMultiTaskClassifier

    I could not find TensorflowMultiTaskClassifier in deepchem 2.1.0. Is there any substitute function for TensorflowMultiTaskClassifier or any way to work around this error? Thank you.

    Johannes Zuegg
    @JZuegg
    @test-user-18 Try deepchem.models.MultitaskClassifier (class name change with 2.x)
    test-user-18
    @test-user-18
    @JZuegg It worked!! Thank you!!
    Surendra
    @surendramph_twitter
    Hello, I want to know, How to use the construct_pdbbind_df.py python script to prepare the protein-ligand complex csv file for deepchem use. I have downloaded the pdbbind_v2019 dataset.
    test-user-18
    @test-user-18

    Hello, I am trying to update a code which was written a few years ago. I think it was written when deepchem was 1.3 or so.

    When I try to run it, it gives me the following error:

    AttributeError: module 'deepchem' has no attribute 'nn'

    I need to replace these methods, and could not find the replacements for them:

    deepchem.nn.AttnLSTMEmbedding()
    deepchem.nn.Dense()
    deepchem.nn.GraphConv()
    deepchem.nn.GraphGather()
    deepchem.nn.GraphPool()
    deepchem.nn.ResiLSTMEmbedding()
    deepchem.nn.SequentialGraph()
    deepchem.nn.SequentialSupportGraph()

    Does anyone know where to find them?

    Thank you.

    Arun singh bhadwal
    @bhadwal_arun_twitter
    please suggest some topic for Ph.D. in the design of de novo drug-using generative algorithms of deep learning
    test-user-18
    @test-user-18
    Is this the reason why deepchem.nn cannot be found?
    deepchem/deepchem#1257
    If deepchem.nn has not been supported in the latest deepchem, that is fine. I just need to confirm that is true because I need to let my boss know. Thank you.
    Christian Stemmle
    @chstem
    Is there something similar to keras.wrappers.scikit_learn.KerasClassifier for deepchem models? The problem is, that keras and scikit-learn use model.fit(x, y) as an interface, while deepchem uses model.fit(dataset), so the keras wrapper probably won't work for deepchem models.
    Kiprop Kigen
    @KigenDeep
    i am doing a de novo drug design project using Deep learning and i am here to shop for idea; has anyone ever used any other representation apart from SMILES?