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

本站现有博文332篇,共被浏览870019

本站已经建立2578天!

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