Skip to content

Commit c442db0

Browse files
authored
fixed export to torcheserve (#10694)
1 parent 4d2fbb0 commit c442db0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/deployment/mmdet2torchserve.py

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ def mmdet2torchserve(
5353
args = Namespace(
5454
**{
5555
'model_file': f'{tmpdir}/config.py',
56+
'config_file': f'{tmpdir}/config.py',
5657
'serialized_file': checkpoint_file,
5758
'handler': f'{Path(__file__).parent}/mmdet_handler.py',
5859
'model_name': model_name or Path(checkpoint_file).stem,

0 commit comments

Comments
 (0)