You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I used MMDetection 3.0.0rc2 to train a Deformable DETR model and a Faster RCNN model, and then I used the mmdet2torchserve tool to create two model.mar. I tried testing local deployment with my own TorchServe Dockerfile, but I get errors with both of the TorchServe archives:
KeyError: "class DeformableDETR in mmdet/models/detectors/deformable_detr.py: 'DetDataPreprocessor is not in the model registry. Please check whether the value of DetDataPreprocessor is correct or it was registered as expected.
and
KeyError: "class FasterRCNN in mmdet/models/detectors/faster_rcnn.py: 'DetDataPreprocessor is not in the model registry. Please check whether the value of DetDataPreprocessor is correct or it was registered as expected.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I used MMDetection 3.0.0rc2 to train a Deformable DETR model and a Faster RCNN model, and then I used the mmdet2torchserve tool to create two
model.mar
. I tried testing local deployment with my own TorchServe Dockerfile, but I get errors with both of the TorchServe archives:and
My Dockerfile looks like this:
I placed the
model.mar
s into/opt/ml/model
.Anyone know how to resolve this KeyError? Is
mmdet_handler.py
compatible withv3.0.0rc2
?Beta Was this translation helpful? Give feedback.
All reactions