-
Notifications
You must be signed in to change notification settings - Fork 75
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
Use of index to assignment #10
Comments
These snippets are used for indexing newly sampled HSI cuboids. |
okay, I got it. |
That's correct.
…On Wed, 16 Jan 2019 at 20:06, TanmDL ***@***.***> wrote:
okay, I got it.
You are just converting the selected indices into specific image location
in row and coloumn space.
for an example,
t = np.arange(16).reshape(4,4)
indices = 7 # was selected for train
the original image location of 7 values (1,3)
now *indexToAssignment function* will give the (row, column) position. Is
it so? or am I missing somthing?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#10 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/APQzzq8g4aFFG6knZn9eSjPiFkfu3G-Dks5vD8yMgaJpZM4ZhLFe>
.
|
Can you please tell the use of the following code:-
assign_0 = value // Col + pad_length
assign_1 = value % Col + pad_length
new_assign[counter] = [assign_0, assign_1]
The text was updated successfully, but these errors were encountered: