Comments (7)
Hi,
I would like to report I am having the same issue, but by running the 'flexible_model_eval.py' script using provided data and suggested terminal arguments. I am wondering I am missing something?
Best,
Paul
Cursor_and_TITAN-main_—-bash—_188×45.pdf
from titan.
HI @paulrbuckley and @Lihua1990
Thanks for your interest in our work and sorry for the late reply.
Did you verify that the path used at L140 (model_dir/protein_language.pkl
) actually exists? If yes, my second guess is that it might be related to the python version you use 3.8 and 3.9 respectively and I think we developed the code on 3.7).
We will look more into this and come back soon
from titan.
Thanks. Yes, i'm passing 'public/trained_model' as themodel path argument, and in that directory there is a file 'protein_language.pkl'
I'll try and see if I can get it working with python 3.7
from titan.
To update, running in 3.7 appears to have resolved the issue. Still running the code but it hasn't immediately failed.
from titan.
Thanks for the reply. I have checked that the .pkl file is there. I will check later if this is the problem with the python version.
from titan.
after downgrading python to 3.7, new error occurred 'No file exists' for 'best_ROC-AUC_bimodal_mca.pt', checked the directory inside the trained_model/weights/ one .pt file exists and I just renamed it. Now it is running, no error so far...
Thank you!
from titan.
Hi,
I have slightly updated the workflow of the semifrozen_finetuning.py
script to fix all your issues. Only minor changes were needed in the TITAN codebase itself
Original issue:
- I released a new
pytoda
version which is the data handling package ofTITAN
. See release details for v1.0.1 here and v1.0.2 here. The reason why you observed theTypeError
when trying to restore the language object withdill
is because we originally used python 3.7 to dump those objects. This is a known issue indill
and unrelated to the native pytoda code. There is currently an open PR indill
on this: uqfoundation/dill#406
Followup issue:
- I renamed the weights file from
done_training_bimodal_bimca.pt
tobest_ROC-AUC_bimodal_mca.pt
to avoid the last error @Lihua1990. Glad you fixed it yourself, but if you were to re-download the data from Box, it should work out of the Box (pun intended!) now
Housekeeping:
- While doing this, I also fixed the argument name ordering/layout in the TITAN README
- python version compatibility: I verified that the environment setup and the execution of the
semifrozen_finetuning.py
now runs smoothly with python 3.6, 3.7, 3.8 and 3.9
from titan.
Related Issues (14)
- Data unavailable! HOT 1
- how did you get the tcr_full from VDJdb? HOT 2
- Question regarding pretraining HOT 1
- pytoda version is not correct HOT 2
- input output data size not match HOT 2
- Running/ training on own dataset HOT 4
- The logger give some advice, but I don't understand it. HOT 8
- Ligand with MHC HOT 1
- How do you visualize the epitope peptides based on the attention scores? HOT 1
- Bindingdb dataset HOT 1
- Running HOT 3
- shared dataset cannot be access HOT 3
- What to do when the TCR being targeted for prediction does not have the full length?
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 titan.