This source code release accompanies the paper with title "Activity in perceptual classification networks as a basis for human subjective time perception", Nature Communications 10.1 (2019): 1-9.
For ubuntu/debian:
deb [trusted=yes] http://ftp2.cn.debian.org/debian sid main contrib non-free
Please note that the non-free
argument should be added if the CUDA version of caffe is needed.
sudo apt update
sudo apt install [ caffe-cpu | caffe-cuda ]
sudo pip3 install opencv-python sklearn
To run in real-time with a webcam as input, simply type
python3 demo_2018_nov.py
while to run with a set of given frames (given in png format), type
python3 demo_2018_nov.py -i <folder path>
This project is licensed under the GLUv3 License - see the LICENSE file for details.