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

Myself datasets #3

Open
JJJTF opened this issue Nov 10, 2020 · 3 comments
Open

Myself datasets #3

JJJTF opened this issue Nov 10, 2020 · 3 comments

Comments

@JJJTF
Copy link

JJJTF commented Nov 10, 2020

How to use my own multiview dataset? My dataset has two views representing an object, 10 categories and 30000 objects.Similar to modelnet dataset, but smaller in number.
Thank you very much!

@sheryl-ai
Copy link
Owner

We only have 2 categories here. Randomly split samples into train and test. Then sample pairs for train and test sets, respectively. You can obtain a file with the same format as our "dti.pair.pkl". Considering you have 10 categories, splitting train and test for each category (keep the same label distribution for train and test) would be a good choice. The views are read one-by-one in our case before training (the sample size is smaller than yours). You can see the loop in line 29. "dti.coo.pd.pkl" is 3d coordinates for each sample's brain regions. We just aggregate them along the sample axis to get an average coordinates. If you have any further question, feel free to discuss.

@JJJTF
Copy link
Author

JJJTF commented Nov 10, 2020

Thank you very much for your prompt reply!

How should I generate my image dataset to ‘ dti.coo.pkl‘ ?
This is very important to me!

@sheryl-ai
Copy link
Owner

Yes. The 'dti.coo.pkl' needs to be generated by yourself. Basically, this is for 3D information. [n_samples x n_nodes x n_XYZ] is its dim. n_nodes in our case means the number of brain regions, n_XYZ is the associated 3D coordinates, equals to 3.

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

2 participants