Skip to content
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

Generate new Mnist dataset #37

Closed
Mareeta26 opened this issue Aug 1, 2022 · 3 comments
Closed

Generate new Mnist dataset #37

Mareeta26 opened this issue Aug 1, 2022 · 3 comments

Comments

@Mareeta26
Copy link

Hi, As mentioned in previous issue here, may I know how did you include items like "clips", "dims" in the MNIST dataset?

Thank you!

@Anant808
Copy link

Hi @Mareeta26 and @wuhaixu2016,

Can you please help me. I have the same question. How do we include clips and dims in the moving mnist dataset.

Thank you for the help in advance.

@Anant808
Copy link

I now understand the need for the clips array.
This is my understanding. Writing this here for someone's reference. Please correct me if I am wrong:

It's used to create samples from the training and test dataset.
1.) The size of the training clip array = (2, 10000, 2) and testing clip array = (2, 2000, 2).
2.) The first dimension in each array is for input and second dimension is for output.
So for training input = (dimension[0], 1000, 2) and for testing input = (dimension[0], 2000, 2).
Training output = (dimension[1], 10000, 2), testing output = (dimension[1], 2000, 2).
3.) The 10000 and 2000 indicates the number of input/output sequences for each training and testing datasets.
4.) The last dimension has two values in each cell. The first value indicates the beginning of the sequence, the second value
indicates the number of images/frames to be taken in the sequence.
For the last dimension: The next cell's first value = previous cell's first value + previous cell's second value.

@wuhaixu2016
Copy link
Collaborator

Hi, they are correct. Thanks for sharing your understanding.

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

3 participants