KTH-Action-Recognition
KTH-Action-Recognition copied to clipboard
KTH dataset with Keras
Hi,
This is not actually an issue.
I could successfully run datautils.py of the main folder and could generate pickle files corresponding to train, test and validation data for CNN block frame and CNN block frame flow.
I just wanted to know if i want to use keras to train my model how will i load the train,test and val data corresponding to flows if i want train my optical flows(temporal stream)
that is, after loading as below
train_set = BlockFrameFlowDataset(directory, "train") dev_set = BlockFrameFlowDataset(directory, "dev") train_set.zero_center(train_set.mean) dev_set.zero_center(train_set.mean)
train_files, test_files, train_targets, test_targets = train_test_split(......) ??
Any help is highly appreciated.
Thank you