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

本站现有博文338篇,共被浏览976237次

本站已经建立2688天!

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