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

Data values gets changed to 0-1 after reshaping the 1D to 2D from tab2img tool #3

Open
EhtashamAhmed opened this issue Nov 16, 2021 · 3 comments

Comments

@EhtashamAhmed
Copy link

Hi, I want to confirm that does this tool changes the data values as well? Or does it simply reshapes the data of 1D to 2D?

I am passing the data of 1x198 shape and it is returning me the data of 1x15x15 shape which is perfect square of the closest 2 dimension. But the data values are also getting changed between the range of 0-1

@nicomignoni
Copy link
Owner

No, data should not have their value changed, only reordered. If you attach the file containing your data, I can try to replicate your problem.

@EhtashamAhmed
Copy link
Author

This is my first sample of input data of shape 197,
image
And this is the reshaped data which i get
image

@EhtashamAhmed

This comment has been minimized.

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