Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.13 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.13 KB

time-without-clocks

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.

Instructions

1. Install Caffe

For ubuntu/debian:

1.1 Add this line in the end of the file: /etc/apt/sources.list.
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.

1.2 Then type:
sudo apt update
sudo apt install [ caffe-cpu | caffe-cuda ]

2. Install other python dependencies

sudo pip3 install opencv-python sklearn

3. Run demo system.

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>

License

This project is licensed under the GLUv3 License - see the LICENSE file for details.