confusion in readme. Should I use fit()? #180
Unanswered
feifeibear
asked this question in
Community | Q&A
Replies: 1 comment
-
Hi, in the examples, we are preparing two versions of code in progress, one uses engine and one uses trainer, for example resnet. We treat trainer as high-level wrapper for engine to execute training, but engine is generally more flexible. Thus, we generally recommend using engine first as it is more compatible with the pytorch workflow, but trainer can come handy if you get familar with it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I saw the example code in README.md. It does not use the fit() API to train. However, the example in ColossalExample all use the fit(). Is it recommended to use fit() as the default training API? If it is, would it be better to present an example using fit() in the README.md?
Beta Was this translation helpful? Give feedback.
All reactions