basenji icon indicating copy to clipboard operation
basenji copied to clipboard

How to change older params.txt in manuscripts/genome_research2018 to params.json

Open biginfor opened this issue 11 months ago • 1 comments

Deer developers: I'm trying to use the pre-trained model to follow the tutorial in https://github.com/calico/basenji/blob/master/tutorials/sat_mut.ipynb, especially to run basenji_sat_vcf.py. Here is the code I used: params_file='tutorials/models/params_small.json' (seems wrong) model_file='/131k/model.tf' vcf_file="my.vcf"

basenji_sat_vcf.py ${params_file} ${model_file} ${vcf_file}

However, it seems that the pre-trained model parameters you provided are not suitable for the latest model version. I am trying to manually match the pre-trained weights to the model with the manuscripts/genome_research2018/params.txt. I wonder if it is futile to do so. Or, could you please update the pre-trained model parameters and hyperparams_file?

Thanks!

biginfor avatar Dec 24 '24 02:12 biginfor

Hi, could you tell me a little more about what you're hoping to achieve? We're not working in this codebase anymore, having moved to https://github.com/calico/baskerville

davek44 avatar Dec 26 '24 20:12 davek44