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
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
sudo apt-get update | |
sudo apt-get install g++-4.9 | |
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9 |
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
./bin/robust_struck_tracker_v1.0 --features="deep" --proto_file="/udrive/student/ibogun2010/Research/Code/DeepAntrack/data/imagenet_memory.prototxt" --conv_deep_weights="/udrive/student/ibogun2010/Research/Code/DeepAntrack/data/bvlc_reference_caffenet.caffemodel" |
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 scipy.io | |
mat = scipy.io.loadmat('file.mat') |
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 java.util.EmptyStackException; | |
public class Stack<Key> implements StackADT<Key> { | |
public Key[] data; // array-based implementation of the stack | |
final int INITIAL_SIZE = 8; | |
int top = 0; | |
@SuppressWarnings("unchecked") |
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
public interface StackADT<Key> { | |
public boolean isEmpty(); | |
public boolean isFull(); | |
public void push(Key key); | |
public Key pop(); | |
public Key top(); | |
} |
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
public interface QueueADT<Key> { | |
public boolean isEmpty(); | |
public boolean isFull(); | |
public void enqueue(Key key); | |
public Key dequeue(); | |
public Key front(); | |
} |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
public class ListGenerics<Key> { | |
private Key[] list; | |
int size = 0; | |
int tail = 0; | |
final int INITIAL_SIZE = 8; | |
@SuppressWarnings("unchecked") |
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
public class List { | |
private int[] list; | |
int size = 0; | |
int tail = 0; | |
final int INITIAL_SIZE = 8; | |
public List() { |
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
cmake -DBLAS="open" -DCUDNN_ROOT=/udrive/student/ibogun2010/Download_glacier/cuda/ -DCUDNN_INCLUDE=/udrive/student/ibogun2010/Download_glacier/cuda/include/ -DCUDNN_LIBRARY=/udrive/student/ibogun2010/Download_glacier/cuda/lib64/ .. |