Skip to content

Instantly share code, notes, and snippets.

View fantasyRqg's full-sized avatar
😁

Eye fantasyRqg

😁
View GitHub Profile
@fantasyRqg
fantasyRqg / onnx2pytorch.py
Created September 14, 2020 08:47 — forked from qinjian623/onnx2pytorch.py
ONNX file to Pytorch model
import onnx
import struct
import torch
import torch.nn as nn
import torchvision as tv
import warnings
# enum DataType {
# UNDEFINED = 0;