-
Notifications
You must be signed in to change notification settings - Fork 80
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
Is this right? #31
Comments
Oh , that was modified for tensorflowlite, because tflite not support 5-d transpose, I think you can refer to the 'simple concat shuffle split' by transpose and split. as many othe implements. And sorry it bothers you.There is no needs to concern that a lot, other net structures works the same, basicly. good luck |
|
Hi, The x that is taken here comes from the local variable x (calculated in line 26) and not from the input variable x. Additionally I get different results, when I exchange concat_shuffle_split_abstract with concat_shuffle_split. So these two do not seems to be the exact same implementation of the shuffling layer. |
Yes, that is a mistake. And to correct this mistake need to retrain the model. Now i intend to reimplement it based on mobilenetv3, when i get time. |
def concat_shuffle_split_abstract(x, y):
x_cp_1 = x[:, :, :, 0::2]
y_cp_1 = y[:, :, :, 0::2]
x=tf.concat([x_cp_1, y_cp_1], axis=3)
Why x_cp_2 = (local variable)x[:, :, :, 1::2] ? i dont know the reason.
Looking forward to your reply.
The text was updated successfully, but these errors were encountered: