Comments (4)
@martin-sicho I really appreciate your kind advice and finally found out what went wrong!
and I will definately go over a suggested user-friendly version of DrugEx!
from drugex.
I think this is the same problem as discussed in PR #3.
from drugex.
@martin-sicho
Thank you so much for your help. and I have got many keyErrors with '\' and 65, 66, 3 ... and '\' again.
Could please give any advise?
from drugex.
No problem @gwanseum. It is some time since I worked with the internals of DrugEx so @XuhanLiu should be able to assist you better, but maybe we can still figure this out.
The '/' and '\' tokens have to do with stereochemistry, the configuration around the double bond to be precise. DrugEx was not designed with stereochemistry in mind as far as I know. You can try to include it in your 'voc.txt' and see what happens or you could strip srereochemistry from the input altogether. It is quite strange there would be two slashes next to each other, though. So the '\\' anomaly is probably a result of something trying to escape the backslash in your input),
The errors with numbers 65 and so on indicate that there is some kind of mismatch in the number of characters in the vocabulary. It is hard to interpret this since I don't know what your input looks like, though.
So I would suggest you check your inputs for strange characters and make sure that the vocabulary is created correctly.
By the way, I also have a slightly more user-friendly version of DrugEx here: https://github.com/martin-sicho/DrugEx/tree/feature/api. It can generate the voc.txt file from the input automatically so that you have all the tokens. It is not really documented yet (except for this notebook) and I would still suggest to check your input before using it, though.
from drugex.
Related Issues (20)
- Package code and make pip installable HOT 1
- Error module 'rdkit.Chem' has no attribute 'MolFromSimles' HOT 4
- It will be great if you would like to provide some examples HOT 2
- Running Multitarget with smiles? HOT 3
- DrugEx-1.0 about figure6 HOT 2
- Zinc models HOT 3
- Link to Dataset.
- miss file /data/chembl_voc.txt HOT 3
- `environ.py` does not work HOT 1
- UnicodeDecodeError: 'ascii' codec can't decode byte 0x80 in position 63: ordinal not in range(128) HOT 1
- Missing zinc/ folder HOT 1
- how to use or simply start? any example? HOT 1
- NameError: name 'Dataset' is not defined HOT 2
- No utils.canonicalize_list in Drug_ex v2.0 HOT 2
- No such file or directory: 'data/LIGAND_RAW.tsv' HOT 13
- RuntimeError: expected device cuda:0 and dtype Byte but got device cuda:0 and dtype Bool HOT 4
- AttributeError: 'int' object has no attribute 'predict_proba' HOT 2
- Error using designer with the default agent
- MT_DNN HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drugex.