Skip to content

get the name of the model used in learner #624

Answered by yangtzech
yangtzech asked this question in Q&A
Discussion options

You must be logged in to vote

I think there is no internal method for this both in tsai or fastai. But we are using Python, and every time we have to make an instance from a model class. Therefore, the name of the model we used can be obtained by type(learn.model).__name__ or learn.model.__class__.__name__ no matter you are using Learner or 'ts_learner' or TSLearner. Thanks to sykora@stackoverflow.

Replies: 1 comment

Comment options

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