Skip to content
Discussion options

You must be logged in to vote

I think the easiest solution is to use your second approach locally: instantiate your wrapper class, load the weights into the inner model, and then save the whole wrapped model with the weights loaded. You can then submit this version for Codalab. That way, the model is properly wrapped in an nn.Module, and you won’t need to reassign or extract anything during evaluation.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TimJaspers0801
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants