python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Convert Darknet Weights and cfg file to ONNX or Pytorch weight files
I have some pretrained darknet weights and config files used with a Yolov3 model.
I recently switched to Ultralytics to use Yolo v5. I don't really want to retrain, and a lot of the models relied on t...

Viraj Vaitha
Votes: 0
Answers: 0
onnx.load() | ALBert throws DecodeError: Error parsing message
Goal: re-develop this BERT Notebook to use textattack/albert-base-v2-MRPC.
Kernel: conda_pytorch_p36. PyTorch 1.8.1+cpu.
I convert a PyTorch / HuggingFace Transformers model to ONNX and store it. Deco...
DanielBell99
Votes: 0
Answers: 1
Converting PyTorch to ONNX model increases file size for ALBert
Goal: Use this Notebook to perform quantisation on albert-base-v2 model.
Kernel: conda_pytorch_p36.
Outputs in Sections 1.2 & 2.2 show that:
converting vanilla BERT from PyTorch to ONNX stays th...
DanielBell99
Votes: 0
Answers: 1
OpenCV getMemoryShapes error when executing a forward pass of the object detection model
I am using this pre-trained TensorFlow model. I convert it to an onnx file, then load it into OpenCV.
I am pretty sure it has something to do with the channels not lining up properly.
Here is the shap...

Isaac Padberg
Votes: 0
Answers: 1