1 write to Model
Microsoft.ML.TorchSharp (1)
AutoFormerV2\ObjectDetectionTrainer.cs (1)
216Model = new AutoFormerV2(
8 references to Model
Microsoft.ML.TorchSharp (8)
AutoFormerV2\ObjectDetectionTrainer.cs (8)
183transformer = new ObjectDetectionTransformer(Host, Option, trainer.Model, new DataViewSchema.DetachedColumn(labelCol.Value)); 223Model.load(GetModelPath(), false); 230Model.cuda(); 234Model.parameters(), 297Model.train(); 298Model.FreezeBN(); 347var (classification, regression, anchors) = Model.forward(imageTensor); 350torch.nn.utils.clip_grad_norm_(Model.parameters(), 0.1);