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

why net to flatten img0? #54

Open
crystalbai opened this issue Dec 29, 2016 · 1 comment
Open

why net to flatten img0? #54

crystalbai opened this issue Dec 29, 2016 · 1 comment

Comments

@crystalbai
Copy link

Hello, I tried to use a different network with different inputs, I find out that in the minimize function the author using img0.flatten(), why is that? Thanks, because I also need to input image size information into my network.
I would really appreciate if someone could give me a hint!

@deepbluesea
Copy link

Return a copy of the array collapsed into one dimension.
https://docs.scipy.org/doc/numpy/reference/generated/numpy.ndarray.flatten.html

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