Skip to content

Commit

Permalink
Added download shell scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-lotter committed Aug 29, 2016
1 parent 23ed207 commit f9c63e9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Code accompanying [Deep Predictive Coding Networks for Video Prediction and Unsu
The PredNet is a deep recurrent convolutional neural network that is inspired by the neuroscience concept of predictive coding (Rao and Ballard, 1999; Friston, 2005).
Check out example prediction videos [here] (https://coxlab.github.io/prednet/).

The architecture is implemented as a custom layer in [Keras] (http://keras.io/) <sup>1</sup>. Tested on Keras 1.0.7 with [theano] (http://deeplearning.net/software/theano/) backend.
The architecture is implemented as a custom layer<sup>1</sup> in [Keras] (http://keras.io/). Tested on Keras 1.0.7 with [theano] (http://deeplearning.net/software/theano/) backend.
See http://keras.io/ for instructions on installing Keras and its list of dependencies.

## KITTI Demo
Expand Down Expand Up @@ -40,6 +40,5 @@ The preprocessed data can also be found [here] and the trained weights can be fo
This will output the mean-squared error for predictions as well as make plots comparing predictions to ground-truth.

<br>
<br>

<sup>1</sup> Note on implementation: PredNet inherits from the Recurrent layer class, i.e. it has an internal state and a step function. Given the top-down then bottom-up update sequence, it must currently be implemented in Keras as essentially a 'super' layer where all layers in the PredNet are in one PredNet 'layer'. This is less than ideal, but it seems like the most efficient way as of now. We welcome suggestions if anyone thinks of a better implementation.
4 changes: 4 additions & 0 deletions download_data.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
savedir="kitti_data3"
mkdir -p -- "$savedir"
wget https://www.dropbox.com/s/rpwlnn6j39jjme4/kitti_data.zip?dl=0 -O $savedir/prednet_kitti_data.zip
unzip $savedir/prednet_kitti_data.zip -d $savedir
6 changes: 6 additions & 0 deletions download_models.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
savedir="model_data2"
mkdir -p -- "$savedir"
wget https://www.dropbox.com/s/f5cn9nsqg9gxd6e/prednet_kitti_model.zip?dl=0 -O $savedir/prednet_kitti_model.zip
unzip $savedir/prednet_kitti_model.zip -d $savedir
wget https://www.dropbox.com/s/whcnajvnhwi2lxp/prednet_kitti_model-extrapfinetuned.zip?dl=0 -O $savedir/prednet_kitti_model-extrapfinetuned.zip
unzip $savedir/prednet_kitti_model-extrapfinetuned.zip -d $savedir

0 comments on commit f9c63e9

Please sign in to comment.