Skip to content

KTH dataset with Keras #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sadiq-mc opened this issue Mar 4, 2018 · 0 comments
Open

KTH dataset with Keras #2

sadiq-mc opened this issue Mar 4, 2018 · 0 comments

Comments

@sadiq-mc
Copy link

sadiq-mc commented Mar 4, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant