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

Max Unpool Bug? #24

Open
tyler-light opened this issue Jun 8, 2018 · 1 comment
Open

Max Unpool Bug? #24

tyler-light opened this issue Jun 8, 2018 · 1 comment

Comments

@tyler-light
Copy link

Hey, I got a lot of indexing errors in the unpool function in enet.py. I fixed them by changing (lines 108/109):

y = (mask // output_shape[2]) % output_shape[1]
x = mask % (output_shape[2])

I'm pretty sure this is correct if the mask is made by the standard 3d --> 1d flattening formula...but can you explain why the error exists in the code? I just downloaded and attempted to run it.

@670373064
Copy link

@tyler-light Thank you very much ! I have the same problem,but you help me solved it!

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