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

本站现有博文342篇,共被浏览1060059次

本站已经建立2731天!

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