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

index 50 is out of bounds for axis 0 with size 50 #16

Open
tracob-github opened this issue Sep 23, 2021 · 3 comments
Open

index 50 is out of bounds for axis 0 with size 50 #16

tracob-github opened this issue Sep 23, 2021 · 3 comments

Comments

@tracob-github
Copy link

Thanks for sharing this excellent code.

When I run test_aenet.py, an error occurred.
image
After debugging, I found that the size of test_lbs and z in models.py are inconsistent. The size of test_lbs is (50, 256, 256, 1), but the size of z is (800, 64, 64, 1). As show in two pictures.
1632383057
1632383057(1)

I would like to ask how to sovle it.

@lucasmansilla
Copy link
Owner

Hi @tracob-github,

AE-Net runs with 64x64 segmentations. What size of segmentations are you using?

@tracob-github
Copy link
Author

Thank you!I know where the problem is. I try to reproduce your work, and the accuracy of test_aenet is about 0.97. Is it correct?

@Westbrone
Copy link

Hello, your code is written very well, but because there is no pre-training model of the autoencoder, when I was training the model, the loss remained at around 0.49 in the end. Is it because of the pre-training model?

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

3 participants