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

2 questions please: get_encoder(I) output looks weird and increase resolution ? #1

Open
thusinh1969 opened this issue Jul 6, 2021 · 0 comments

Comments

@thusinh1969
Copy link

thusinh1969 commented Jul 6, 2021

def get_encoder(I):

K1  = concatenate([I,I])
new = MRU(I  ,I ,32)
I2  = AveragePooling2D(pool_size=2)(I)

K2  = concatenate([new,I2])
new = MRU(new,I2,64)
I3  = AveragePooling2D(pool_size=2)(I2)

K3  = concatenate([new,I3])
new = MRU(new,I3,128)
I4  = AveragePooling2D(pool_size=2)(I3)

K4  = concatenate([new,I4])
out = MRU(new,I4,256)
I5  = AveragePooling2D(pool_size=2)(I4)

**K5  = concatenate([out,I5])**

**encoder = Model(I, out, name='encoder');**

return encoder,K4,K3,K2,K1

Were you intended to out = K5 instead ? Otherwise what K5 is used for ?

Also if I would like to increase resolution to say 256x256x3 or higher, which layers/changes should I look at.

I also modified a bit and put in Instance normalization, let see... !

Thanks man.
Steve

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

1 participant