This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from caffe2.python import ( | |
brew, | |
model_helper, | |
optimizer, | |
workspace, | |
utils, | |
) | |
from caffe2.proto import caffe2_pb2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding:utf-8 | |
# author:ChrisZZ | |
# description: 从caffemodel文件解析出网络训练信息,以类似train.prototxt的形式输出到屏幕 | |
#import _init_paths | |
import caffe.proto.caffe_pb2 as caffe_pb2 | |
caffemodel_filename = 'RA_CNN.caffemodel' | |
model = caffe_pb2.NetParameter() |