astroli

Results comments of astroli

Android AI Camera https://caffe2.ai/docs/AI-Camera-demo-android https://github.com/bwasti/AICamera/blob/master/app/src/main/cpp/native-lib.cpp loadToNetDef(mgr, &_initNet, "squeeze_init_net.pb"); loadToNetDef(mgr, &_predictNet,"squeeze_predict_net.pb"); _predictor = new caffe2::Predictor(_initNet, _predictNet); caffe2::Predictor::TensorVector input_vec{&input}; caffe2::Predictor::TensorVector output_vec; _predictor->run(input_vec, &output_vec);

The MNIST tutorial show 15th feature map of 'conv1' layer. https://github.com/caffe2/caffe2/blob/master/caffe2/python/tutorials/MNIST.ipynb # Convolutions for this mini-batch pyplot.figure() conv = workspace.FetchBlob('conv1') shape = list(conv.shape) shape[1] = 1 # We can look...

I do not install caffe2, but use PYTHONPATH to locate it. Run test at caffe2 root directory. ~/caffe2 $ export PYTHONPATH=build ~/caffe2 $ python build/caffe2/python/workspace_test.py

# Anaconda2-5.0.1-Linux-x86_64.sh export PATH=~/anaconda2/bin:$PATH git clone --recursive https://github.com/pytorch/pytorch.git cd pytorch/ python setup.py install cd .. # onnx-caffe2 will install caffe2, onnx and onnx-caffe2 # See install.sh git clone --recursive https://github.com/onnx/onnx-caffe2.git...

parse_log.sh Line 42 grep ', loss = ' $1 | awk '{print $13}' > aux1.txt format changed from "solver.cpp:228] Iteration 2000, loss = 5.99603" to "solver.cpp:219] Iteration 104 (0.834028 iter/s,...