Open Namzakku opened 3 years ago
I tried to run their code and made it work. For anyone interested, this is what I did:
Download dataset with the link in the paper. Use ALZip software to extract the egg archive. Have train, validation and test folders at the scripts folder with the data. Convert the notebooks to pypthon:
jupyter nbconvert CNN\ Based\ Detector.ipynb --to python
jupyter nbconvert Improved\ Extractor\ of\ Camera\ Motion.ipynb --to python
Create output folders
Here I have edited the scripts:
TRAIN_DIR = './dataset/11_frames/train'
VALID_DIR = './dataset/11_frames/validation'
caltech_dir = "dataset/11_frames/test/pan"
Extract the motion vectors from the dataset:
python Improved\ Extractor\ of\ Camera\ Motion.py train
python Improved\ Extractor\ of\ Camera\ Motion.py validation
python Improved\ Extractor\ of\ Camera\ Motion.py train
Use the extracted data in the training:
python CNN\ Based\ Detector.py
Hi! I'm curious what train, val loss and accuracy you got? And it would be really nice if you can talk a little bit more about the dataset structure!