Step 1: Disable SIP
Enter recovery mode
- Shutdown your macbook
- Press keys:
Command + R
- Press
power button
- Release keys
Command + R
when see Apple logo appear - Open Terminal app on recovery screen, then run below command:
This tutorial will guide through the steps to create a simple custom layer for Caffe using python. By the end of it, there are some examples of custom layers.
Usually you would create a custom layer to implement a funcionality that isn't available in Caffe, tuning it for your requirements.
Probably just Python and Caffe installed.
#include <cuda_runtime.h> | |
#include <cstring> | |
#include <cstdlib> | |
#include <vector> | |
#include <string> | |
#include <iostream> | |
#include <stdio.h> | |
#include "caffe/caffe.hpp" |