Skip to content

Don't error if sequence weights model not provided#125

Open
antortjim wants to merge 1 commit intojbohnslav:masterfrom
shaliulab:sequence_weights_initialization
Open

Don't error if sequence weights model not provided#125
antortjim wants to merge 1 commit intojbohnslav:masterfrom
shaliulab:sequence_weights_initialization

Conversation

@antortjim
Copy link

@antortjim antortjim commented Nov 4, 2022

I am not sure why, but

cfg["sequence"]["weights"][cfg.run.model] can be None, and not a dictionary from which we can get cfg[cfg.run.model].arch. This patch defaults to an empty list in that case for the pretrained file, which is handled downstream accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant