Projetos
Ver no GitHub
huachao1001/CNNGraph
Sobre
A tool that automatically extracts network structures from Tensorflow model files
Sistemas e infraestruturaCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalCNNGraph
1 CNNGraph作用
CNNGraph能根据传入的Tensorflow模型文件,自动提取网络结构,并绘制出来。
2 使用
以MobileNet V1w为例,MobileNet V1官方预训练模型提供了pb模型和ckpt模型两种。其中,pb模型的输入Tensor的名称为input:0,ckpt模型文件的输入Tensor名称为batch:0,二者的输出名称均为MobilenetV1/Predictions/Reshape_1:0。假设将输出HTML名称设置为dst.html。
2.1 pb模型
假设pb模型文件名为mobilenet_v1_1.0_192_frozen.pb,则使用命令如下
python read_graph.py mobilenet_v1_1.0_192_frozen.pb input:0 MobilenetV1/Predictions/Reshape_1:0 dst.html
2.2 ckpt模型
假设ckpt模型文件名为/mobilenet_v1_1.0_192.ckpt,则使用命令如下
python read_graph.py mobilenet_v1_1.0_192.ckpt batch:0 MobilenetV1/Predictions/Reshape_1:0 dst.html
3 效果展示
MobileNet V1 网络结构解析并展示效果


Explore projetos relacionados
Carregando…