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

本站现有博文324篇,共被浏览809662

本站已经建立2512天!

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