You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one wants to load a pre-trained model and change some model config parameter, e.g. pre-trained with shifter, but then do experiments with shifter=False, this can be obtained by setting transfer=True in the model config. However, then model initialization fails, because trasfer usually is not an argument for our models. Could we refactor this to allow for model loading in a more flexible way? E.g. by adding another parameter to load_model that allows for turning off these checks, without having to modify the model_config?
If one wants to load a pre-trained model and change some model config parameter, e.g. pre-trained with shifter, but then do experiments with
shifter=False
, this can be obtained by settingtransfer=True
in the model config. However, then model initialization fails, becausetrasfer
usually is not an argument for our models. Could we refactor this to allow for model loading in a more flexible way? E.g. by adding another parameter toload_model
that allows for turning off these checks, without having to modify themodel_config
?nnfabrik/nnfabrik/builder.py
Lines 78 to 81 in 5b6e737
Might be related to #147
The text was updated successfully, but these errors were encountered: