twopin / CAMP

predicting peptide-protein interactions
117 stars 30 forks source link

How to train my own models #22

Closed zhyzhyzhy123 closed 1 year ago

zhyzhyzhy123 commented 2 years ago

Hi, I want to reimplement the project in Pytorch, but I can not find any structure information of CAMP.h5, so where can I find the information of hyperparameter of the model, like the kernel size of the convolution layers, the structure of the feature extractor encoder, etc... Thanks a lot.

Yiqiu-Zhang commented 2 years ago

Hi Zhy, did you figure out how to train your own model? I am currently trying to train this with my own data

twopin commented 1 year ago

hi, my model was saved using kears cmd 'model.save('xxx.h5')' so you can load the model using kears and using model.summary to see the architecture. Or you may just use the information from the paper.

twopin commented 1 year ago

The python3 and pytorch script and ckpts are in CAMP_pytorch. Sorry for the delay.

xiaoxiao349 commented 1 year ago

And may I ask where is the Python3+pytorch model file with training/predicting scripts? --thanks

twopin commented 1 year ago

And may I ask where is the Python3+pytorch model file with training/predicting scripts? --thanks

Sorry for the delay. The script and ckpts are in CAMP_pytorch.