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

本站现有博文320篇,共被浏览759229

本站已经建立2427天!

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