theislab / chemCPA

Code for "Predicting Cellular Responses to Novel Drug Perturbations at a Single-Cell Resolution", NeurIPS 2022.
https://arxiv.org/abs/2204.13545
MIT License
104 stars 24 forks source link

what is config_hash for? #140

Closed bhomass closed 1 year ago

bhomass commented 1 year ago

in the notebook section, the use of a config_has is all over the place. seems having to do with matching up with expected pretrained model configs.

I looked the use of hashlib, but found none.

could someone explain simply why and how this hash is generated and used?

bhomass commented 1 year ago

I think this maybe a standard feature of seml?

MxMstrmn commented 1 year ago

This is made for convenience and stored during the model training such that we can load models easily and do not overwrite them :)