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

本站现有博文340篇,共被浏览1020156次

本站已经建立2719天!

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