EADST

Check Torch Model Structure, Flops, and Params

Check Torch Model Structure, Flops, and Params

from torchinfo import summary
images.tensors.size() # (3, 640, 640)
summary(torch_model, images.tensors.size())

from thop import profile
flops, params = profile(torch_model, inputs=[images], verbose=False)

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

本站现有博文339篇,共被浏览1000825次

本站已经建立2711天!

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