-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new Input Data Types #603
Comments
Hi @miquelduranfrigola ! Last week I got the following error while incorporating the IO class for text input type and testing on the #eos1086 model. The latest logs show the error with 'input_shape'.
This is the function from the input.py file. I am slightly confused about how to define the input shape for the text data type. |
Hello @Femme-js , As we discussed in previous meetings, the Hub needed a new class for "text" inputs, which would work for your model and also @carcablop model on IUPAC name translation (and future models). |
Can I make a PR for this, showing the new files I have added? |
Hi @Femme-js It is not clear to me from the PR the modifications you have done. Please explain here with more detail so we can follow. @carcablop I am tagging you here because you can probably help as well |
Hi @Femme-js and @carcablop ! Ersilia requires an IO class for each input type, and currently ersilia is not having an IO class for the text input. It is required to add an IO class inside 'ersilia/ersilia/IO' folder similar to compoun.py. For that I have added a 'text.py' file inside IO folder, an example text data as text.tsv inside 'IO/examples' folder, and an text.py file for TextIdentifier class inside 'IO/utils/identifiers' folder. However, I am recieving the same error as described above while testing eos1086 (my model). |
Hi @GemmaTuron and @carcablop what is the current status of this? If we need to tackle the issue, let's organize a quick meeting and strategize. Thanks! |
@carcablop is currently focusing on the GUI, so this task is orphan at the moment |
Hi @miquelduranfrigola and @GemmaTuron. |
Hi @miquelduranfrigola and @GemmaTuron I have finished with the implementation of this task, and I am testing its functionality with the two models that accept input as text: eos1086 and eos5cc. But I have presented these errors while fetching those models:
I could tell the problem is here by the square bracket in this line of code:
A small summary of the implementation. Ersilia currently receives input of type compound. To accept an input type as text, the following is required Creation of the IO class to accept models with input type: text
Can we have a meet to expose what I have done? Thank you. |
Hi @carcablop This is great, let's find a moment to meet, we'll sync via Slack! |
The Hub now accepts text input in the format of biomedical text! |
Shall we close this issue? If we want to specify other data types such as described molecules I'd open a specific issue for it |
We will close this issue and focus on new input data types one by one as we require them |
Ersilia currently takes three kinds of Input Type : Compound, Protein and Text.
The repository require the IO class for text input data format as text.py file.
This issue is to follow the addition of same file.
The text was updated successfully, but these errors were encountered: