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

bug in Localization #25

Open
yurenzhang opened this issue Apr 29, 2022 · 2 comments
Open

bug in Localization #25

yurenzhang opened this issue Apr 29, 2022 · 2 comments

Comments

@yurenzhang
Copy link

yurenzhang commented Apr 29, 2022

hi, great work.
There seems to be a bug in
image_patches = unfold(image).squeeze(0).reshape(-1, 3, *self.kernel_dim )
it's not unfolding correctly.

This worked for me
image_patches = unfold(image).squeeze(0).permute(1,0).reshape(-1, 3, *self.kernel_dim )

btw, KDE is used for anomaly detection in the code, but in my experiments it's not necessary and slow. A simple Gaussian estimation using sklearn's mixture of gaussian estimator is fast and working fine. Just a suggestion.

@princeofpython
Copy link

hey, are you able to get localization.py to work? if yes, can you upload the code? Thanks in advance

@Chichiviriche
Copy link

I'm not able either to run properly localization.py. It's running, but I get no more than a full blue image as a heat map at the end

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