EADST

Obtain ONNX Input Size

Obtain ONNX Input Size

import onnx

path = "onnx_model.onnx"
model = onnx.load(path)
input_shape = model.graph.input[0].type.tensor_type.shape.dim
height = int(str(input_shape[2]).strip().split(': ')[-1])
width = int(str(input_shape[3]).strip().split(': ')[-1])
相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
Quantize Search WebCrawler CAM Pillow MD5 腾讯云 Shortcut Website VPN GPTQ 第一性原理 公式 ResNet-50 Input CEIR 递归学习法 logger Animate Clash 飞书 BF16 Tracking Attention Linux SQL CV Breakpoint Food 多线程 签证 顶会 Nginx Algorithm UNIX 阿里云 Land Bitcoin Streamlit OpenCV Card TensorRT RGB TSV LLAMA Base64 ChatGPT Hungarian torchinfo Magnet Ubuntu Color Template 关于博主 Pickle BTC Permission LoRA Firewall SAM Hilton FP8 Git LaTeX Anaconda Translation Paddle uWSGI Quantization 净利润 域名 Miniforge PyTorch Knowledge 证件照 mmap Michelin hf Crawler UI Domain Qwen2 IndexTTS2 Augmentation 报税 Video Logo HuggingFace Bert QWEN tar OCR 版权 Statistics Numpy RAR Jupyter Diagram Random 图形思考法 音频 Bipartite Markdown PyCharm CUDA scipy diffusers Agent Pandas SVR Web Python HaggingFace LeetCode Llama NameSilo Docker BeautifulSoup Github VSCode Excel XML Datetime Conda DeepSeek Bin Math InvalidArgumentError YOLO Sklearn FP32 Ptyhon 继承 ModelScope Cloudreve 搞笑 Zip GIT Paper Safetensors Pytorch PDB DeepStream FlashAttention CSV AI XGBoost Use Mixtral JSON Hotel 强化学习 Freesound FastAPI llama.cpp Google Vmess git-lfs Tiktoken Image2Text Jetson GPT4 WAN OpenAI CLAP Baidu 财报 NLP Interview API PDF Heatmap VGG-16 EXCEL GGML Transformers Review git Vim COCO Data Qwen2.5 多进程 v0.dev CC ONNX Plate GoogLeNet 算法题 transformers Proxy LLM TTS Dataset SPIE TensorFlow Distillation News C++ tqdm CTC Gemma v2ray Django FP64 printf Plotly FP16 Qwen Disk Password Claude PIP Tensor SQLite Windows uwsgi NLTK
站点统计

本站现有博文320篇,共被浏览757265

本站已经建立2422天!

热门文章
文章归档
回到顶部