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

How to modify this to handle non-image data #15

Closed
sgbaird opened this issue Mar 11, 2022 · 2 comments
Closed

How to modify this to handle non-image data #15

sgbaird opened this issue Mar 11, 2022 · 2 comments

Comments

@sgbaird
Copy link

sgbaird commented Mar 11, 2022

Curious if you have any thoughts of how this can be applied to something other than image data. In my case, it's a task in materials informatics.

@mrkatey
Copy link

mrkatey commented Jun 23, 2022

Have you considered transforming your data examples into a series of images? Sorry if that sounds too simple.

@sgbaird
Copy link
Author

sgbaird commented Jun 23, 2022

@mrkatey I've noticed that most of lucidrains's repos allow for passing tensors directly, which is great. I think it still assumes n-channel square images in many cases (not sure if image_size could take a tuple of shapes), which makes a lot of sense. I've been doing something along the lines of what you mentioned in a package called xtal2png (crystal to PNG). Still testing the performance of the representation.

@sgbaird sgbaird closed this as completed Jun 23, 2022
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