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

本站现有博文327篇,共被浏览825851

本站已经建立2532天!

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