我已在自定义数据集上对 Yolox 进行了微调,并希望使用切片辅助超推理 SAHI,但我不能 有一些预训练模型的用例,例如
model_type='mmdet',
model_path=model_path,
config_path=config_path,
confidence_threshold=0.4,
image_size=640,
device="cpu", # or 'cuda:0'
)```
but I need to add my model weights and path and it is not of any model_type.