Closed as not planned
Closed as not planned
Description
Search before asking
- I have searched the YOLOv5 issues and discussions and found no similar questions.
Question
As I have quantized FLOAT32 model to INT8 model, I'am not able to convert the model to any other formats nor able to inference using detect.py and val.py
Error msg:
- While doing inference
ckpt = (ckpt.get('ema') or ckpt['model']).to(device).float() # FP32 model
AttributeError: 'collections.OrderedDict' object has no attribute 'to'
- While converting to any other model type using export.py
[TRT] [E] ModelImporter.cpp:779: ERROR: images:232 In function importInput:
[8] Assertion failed: convertDtype(onnxDtype.elem_type(), &trtDtype) && "Failed to convert ONNX date type to TensorRT data type."
@glenn-jocher Can you plz look onto this? Looking forward for your reply
Additional
No response
Activity