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

本站现有博文334篇,共被浏览932339

本站已经建立2641天!

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