use ema weights when exporting models
Summary: Use EMA weights when exporting the model. Many previous FBNetV3_B* + EMA training runs didn't have this config flag set, so setting it here during export when the model is built. If a model uses EMA (MODEL_EMA.ENABLED = True), then this flag will take effect and use EMA weights. Otherwise, this flag has no effect on the export. Yanghan may be adding `torchscript_mobile` export type, deprecating this script, soon. Reviewed By: vivekn, sanjeevk42 Differential Revision: D26412081 fbshipit-source-id: 98f5402279ab02157e5e3dbefd41840a5e230d94
Showing
Please register or sign in to comment