EADST

Reuse Pytorch GoogLeNet Structure

Here is the method to reconstruct the GoogLeNet model with Pytorch.

from torch import nn
import torchvision.models as models

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

本站现有博文323篇,共被浏览795465

本站已经建立2493天!

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