Git Product home page Git Product logo

deepcoy's People

Contributors

fimrie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

deepcoy's Issues

IndexError: list index out of range

Dear author,

I've used your code succesfully already, however now I am trying to use it again but I run into some errors and I cannot figure out what is wrong. In the first run, everything went fine, but I noticed that on my part, the smiles I input, didnt have the stereoisomer/enantiomer informations (@,/,\ signs). Now that I added them, DeepCoy is not able to generate the model anymore.
The error code is below:
IndexError Traceback (most recent call last)
in
1 # Setup model and generate molecules
----> 2 model = DenseGGNNChemModel(args)
3 model.train()
4 # Free up some memory
5 model = ''

/data/projects/discovery.science/applic/DeepCoy/DeepCoy.py in init(self, args)
53 class DenseGGNNChemModel(ChemModel):
54 def init(self, args):
---> 55 super().init(args)
56
57 @classmethod

/data/projects/discovery.science/applic/DeepCoy/GGNN_DeepCoy.py in init(self, args)
66 self.annotation_size = 0
67 self.train_data = self.load_data(params['train_file'], is_training_data=True)
---> 68 self.valid_data = self.load_data(params['valid_file'], is_training_data=False)
69
70 # Build the actual model

/data/projects/discovery.science/applic/DeepCoy/GGNN_DeepCoy.py in load_data(self, file_name, is_training_data)
107 self.annotation_size = max(self.annotation_size, len(data[0]["node_features_in"][0]))
...
---> 13 if neighbor != node_in_focus and color[neighbor] < 2 and
14 not check_adjacent_sparse(adj_mat, node_in_focus, neighbor)[0]:
15 min_valence = min(valences[node_in_focus], valences[neighbor], 3)

IndexError: list index out of range

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.